Class: AdminData::BaseController

Inherits:
ApplicationController
  • Object
show all
Includes:
Chelper
Defined in:
app/controllers/admin_data/base_controller.rb

Instance Attribute Summary collapse

Method Summary

Methods included from Chelper

#admin_data_invalid_record_link, #admin_data_is_allowed_to_update?, #admin_data_is_allowed_to_update_model?, #admin_data_is_allowed_to_view?, #admin_data_is_allowed_to_view_klass?, #per_page

Instance Attribute Details

#klassObject (readonly)

Returns the value of attribute klass.



13
14
15
# File 'app/controllers/admin_data/base_controller.rb', line 13

def klass
  @klass
end

#modelObject (readonly)

Returns the value of attribute model.



13
14
15
# File 'app/controllers/admin_data/base_controller.rb', line 13

def model
  @model
end