class Admin::RaceNumbersController

Public Instance Methods

destroy() click to toggle source
# File app/controllers/admin/race_numbers_controller.rb, line 10
def destroy
  @race_number = RaceNumber.find(params[:id])
  @race_number.destroy
end
new() click to toggle source
# File app/controllers/admin/race_numbers_controller.rb, line 5
def new
  @person = Person.find(params[:person_id])
  @race_number = @person.race_numbers.build
end