app/controllers/team_management_controller.rb
# Verifies that a team id is provided as parameter
# Else, returns an invalid action request.
#
# Sets/assigns:
# - @team, a valid Team instance
#
# == Params:
# id: the team id to be processed
#
Verifies that a team id is provided as parameter
Else, returns an invalid action request.

Sets/assigns:
@team, a valid Team instance

the team id to be processed
Verifies that a team id is provided as parameter Else returns an invalid action request . Sets / assigns : @team a valid Team instance the team id to be processed
def verify_parameters
    set_team
    unless ( @team )
      flash[:error] = I18n.t(:invalid_action_request) + ' - ' + I18n.t('meeting.errors.missing_team_id')
      redirect_back( fallback_location: root_path ) and return
    end
  end
def verify_parameters set_team unless ( @team ) flash [ :error ] = I18n . t ( :invalid_action_request ) + ' - ' + I18n . t ( 'meeting.errors.missing_team_id' ) redirect_back ( fallback_location : root_path ) and return end end
Verifies that a team id is provided as parameter
Else, returns an invalid action request.
Verifies that a team id is provided as parameter Else returns an invalid action request .