module Wallaby::Engineable::ClassMethods
Configurable attribute
Attributes
engine_name[W]
@!attribute [w] engine_name
Public Instance Methods
engine_name()
click to toggle source
@!attribute [r] engine_name
The engine name will be used to handle URLs.
So when to set this engine name? When Wallaby
doesn't know what is the correct engine helper to use. @example To set an engine name:
class Admin::ApplicationController < Wallaby::ResourcesController self.engine_name = 'admin_engine' end
@return [String, Symbol, nil] engine name @since wallaby-5.2.0
# File lib/concerns/wallaby/engineable.rb, line 21 def engine_name @engine_name ||= ModuleUtils.try_to superclass, :engine_name end