app/controllers/misc_controller.rb
# #GET swimmer_matches
# Swimmer matches "Duel in the pool"
#
# If logged in and associated to a swimmer
# suggests locale swimmer
#
GET swimmer_matches
Swimmer matches "Duel in the pool"

If logged in and associated to a swimmer
suggests locale swimmer
GET swimmer_matches Swimmer matches " Duel in the pool " If logged in and associated to a swimmer suggests locale swimmer
def swimmer_matches
    @tab_title = I18n.t('misc.swimmer_matches')
    @local_swimmer  = nil
    @visitor_swimmer = nil
    @sme             = nil
    @sme_dao         = nil
    if current_user && current_user.swimmer
      @local_swimmer = current_user.swimmer.decorate if current_user
    end
  end
def swimmer_matches @tab_title = I18n . t ( 'misc.swimmer_matches' ) @local_swimmer = nil @visitor_swimmer = nil @sme = nil @sme_dao = nil if current_user && current_user . swimmer @local_swimmer = current_user . swimmer . decorate if current_user end end
GET swimmer_matches
Swimmer matches "Duel in the pool"
GET swimmer_matches Swimmer matches " Duel in the pool "
# if user is logged in and associated to a swimmer