Class: FReCon::MatchesController

Inherits:
Controller show all
Defined in:
lib/frecon/controllers/matches_controller.rb

Class Method Summary collapse

Methods inherited from Controller

could_not_find, create, delete, find_model, index, match_number_and_competition_to_match_id, model, model_name, process_json_request, show, show_attribute, team_number_to_team_id, update

Class Method Details

.competition(params) ⇒ Object



15
16
17
# File 'lib/frecon/controllers/matches_controller.rb', line 15

def self.competition(params)
  show_attribute params, :competition
end

.records(params) ⇒ Object



19
20
21
# File 'lib/frecon/controllers/matches_controller.rb', line 19

def self.records(params)
  show_attribute params, :records
end