Method: AppyantraAdmin::ApplicationController#get_object_name
- Defined in:
- app/controllers/appyantra_admin/application_controller.rb
#get_object_name(asset_class) ⇒ Object
11 12 13 |
# File 'app/controllers/appyantra_admin/application_controller.rb', line 11 def get_object_name(asset_class) asset_class.table_name.singularize end |