Module: Wallaby::Configurable
- Extended by:
- ActiveSupport::Concern
- Included in:
- ApplicationHelper, ResourcesConcern
- Defined in:
- lib/concerns/wallaby/configurable.rb
Overview
Configurable related
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
-
#wallaby_controller ⇒ Class
Its controller class.
Instance Method Details
#wallaby_controller ⇒ Class
Returns its controller class.
412 413 414 |
# File 'lib/concerns/wallaby/configurable.rb', line 412 def wallaby_controller @wallaby_controller ||= try(:controller).try(:class) || self.class end |