Method: Usman::RegistrationDevicesController#index

Defined in:
app/controllers/usman/registration_devices_controller.rb

#indexObject



7
8
9
10
11
12
13
14
15
16
# File 'app/controllers/usman/registration_devices_controller.rb', line 7

def index
  get_collections
  respond_to do |format|
    format.html {}
    format.js  { 
      js_view_path = @resource_options && @resource_options[:js_view_path] ? "#{@resource_options[:js_view_path]}/index" : :index 
      render js_view_path
    }
  end
end