Class: StatesController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/states_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



5
6
7
8
# File 'app/controllers/states_controller.rb', line 5

def index
  @states = State.all
  respond_with @states
end