Class: FReCon::CompetitionsController
- Inherits:
-
Controller
show all
- Defined in:
- lib/frecon/controllers/competitions_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
.matches(params) ⇒ Object
19
20
21
|
# File 'lib/frecon/controllers/competitions_controller.rb', line 19
def self.matches(params)
show_attribute params, :matches
end
|
.records(params) ⇒ Object
23
24
25
|
# File 'lib/frecon/controllers/competitions_controller.rb', line 23
def self.records(params)
show_attribute params, :records
end
|
.teams(params) ⇒ Object
15
16
17
|
# File 'lib/frecon/controllers/competitions_controller.rb', line 15
def self.teams(params)
show_attribute params, :teams
end
|