app/controllers/badge_controller.rb
# Verifies usable parameters and redirects accordingly in case of errors.
#
Verifies usable parameters and redirects accordingly in case of errors.
Verifies usable parameters and redirects accordingly in case of errors .
def verify_parameters
    set_parameters
    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_parameters 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 usable parameters and redirects accordingly in case of errors.
Verifies usable parameters and redirects accordingly in case of errors .