Class: StatesController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- StatesController
- Defined in:
- app/controllers/states_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
5 6 7 8 |
# File 'app/controllers/states_controller.rb', line 5 def index @states = State.all respond_with @states end |