Module: ExpressAdmin::StandardActions
- Included in:
- StandardController
- Defined in:
- lib/express_admin/standard_actions.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/express_admin/standard_actions.rb', line 4 def self.included(base) base.class_eval do extend ClassMethods include InstanceMethods helper_method :collection helper_method :resource helper_method :resource_path helper_method :collection_path class_attribute :defaults self.defaults = {layout: 'layouts/express_admin/admin'} before_filter :expose_parent_resources end end |