Class: FReCon::RecordsController
Class Method Summary
collapse
Methods inherited from Controller
could_not_find, 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
20
21
22
|
# File 'lib/frecon/controllers/records_controller.rb', line 20
def self.competition(params)
show_attribute params, :competition
end
|
.create(request, params, post_data = nil) ⇒ Object
16
17
18
|
# File 'lib/frecon/controllers/records_controller.rb', line 16
def self.create(request, params, post_data = nil)
super(request, params, post_data || match_number_and_competition_to_match_id(team_number_to_team_id(process_json_request(request))))
end
|