Class: DryAdmin::ApplicationController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- DryAdmin::ApplicationController
show all
- Defined in:
- app/controllers/dry_admin/application_controller.rb
Instance Method Summary
collapse
Instance Method Details
6
7
8
9
|
# File 'app/controllers/dry_admin/application_controller.rb', line 6
def
Rails.application.eager_load!
@models = ActiveRecord::Base.descendants.reject {|m| m.name == "ApplicationRecord" or m.name == "ActiveRecord::SchemaMigration" or m.name == "DryAdmin::ApplicationRecord"}
end
|