Class: Signalman::RequestsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Signalman::RequestsController
- Defined in:
- app/controllers/signalman/requests_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
3 4 5 |
# File 'app/controllers/signalman/requests_controller.rb', line 3 def index @events = Event.requests.recent_first end |
#show ⇒ Object
7 8 9 |
# File 'app/controllers/signalman/requests_controller.rb', line 7 def show @event = Event.requests.find(params[:id]) end |