Class: StatusesController

Inherits:
ApplicationController show all
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

Methods inherited from ApplicationController

#clear_search_index, #search_params

Instance Method Details

#editObject

GET /statuses/1/edit



24
25
# File 'app/controllers/statuses_controller.rb', line 24

def edit
end

#indexObject



9
10
11
# File 'app/controllers/statuses_controller.rb', line 9

def index
  @statuses = Status.all
end

#newObject

GET /statuses/new



19
20
21
# File 'app/controllers/statuses_controller.rb', line 19

def new
  @status = Status.new
end

#showObject



15
16
# File 'app/controllers/statuses_controller.rb', line 15

def show
end