Class: StatusesController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- StatusesController
- Defined in:
- app/controllers/statuses_controller.rb
Instance Attribute Summary
Attributes inherited from ApplicationController
#current_user, #current_user Used for unit testing, this is normally managed by Devise
Instance Method Summary collapse
-
#edit ⇒ Object
GET /statuses/1/edit.
- #index ⇒ Object
-
#new ⇒ Object
GET /statuses/new.
- #show ⇒ Object
Methods inherited from ApplicationController
#clear_search_index, #search_params
Instance Method Details
#edit ⇒ Object
GET /statuses/1/edit
24 25 |
# File 'app/controllers/statuses_controller.rb', line 24 def edit end |
#index ⇒ Object
9 10 11 |
# File 'app/controllers/statuses_controller.rb', line 9 def index @statuses = Status.all end |
#new ⇒ Object
GET /statuses/new
19 20 21 |
# File 'app/controllers/statuses_controller.rb', line 19 def new @status = Status.new end |
#show ⇒ Object
15 16 |
# File 'app/controllers/statuses_controller.rb', line 15 def show end |