Class: Admin::StatesController

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

Instance Method Summary collapse

Instance Method Details

#indexObject



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

def index
  respond_with(@collection) do |format|
    format.html
    format.js  { render :partial => 'state_list.html.erb' }
  end
end