Class: SportDbAdmin::RoundsController
- Inherits:
-
SportDbAdminController
- Object
- ActionController::Base
- SportDbAdminController
- SportDbAdmin::RoundsController
- Defined in:
- app/controllers/sport_db_admin/rounds_controller.rb
Instance Method Summary collapse
-
#index ⇒ Object
GET /rounds.
Instance Method Details
#index ⇒ Object
GET /rounds
8 9 10 |
# File 'app/controllers/sport_db_admin/rounds_controller.rb', line 8 def index @rounds = Round.order( 'start_at desc').all end |