app/controllers/meetings_controller.rb
# Verifies that a swimmer id is provided as parameter; otherwise
# return an invalid action request
# Assigns the swimmer instance.
#
# == Params:
# team_id: the team id to be processed
#
Verifies that a swimmer id is provided as parameter; otherwise
return an invalid action request
Assigns the swimmer instance.

the team id to be processed
Verifies that a swimmer id is provided as parameter ; otherwise return an invalid action request Assigns the swimmer instance . the team id to be processed
def verify_swimmer
    set_swimmer_from_swimmer_id
    unless ( @swimmer )
      flash[:error] = I18n.t(:invalid_action_request) + ' - ' + I18n.t('meeting.errors.missing_swimmer_id')
      redirect_to( meetings_current_path() ) and return
    end
  end
def verify_swimmer set_swimmer_from_swimmer_id unless ( @swimmer ) flash [ :error ] = I18n . t ( :invalid_action_request ) + ' - ' + I18n . t ( 'meeting.errors.missing_swimmer_id' ) redirect_to ( meetings_current_path ( ) ) and return end end
Verifies that a swimmer id is provided as parameter; otherwise
return an invalid action request
Assigns the swimmer instance.
Verifies that a swimmer id is provided as parameter ; otherwise return an invalid action request Assigns the swimmer instance .