Module: Puffer::Component::Base::ClassMethods

Included in:
Puffer::Component::Base
Defined in:
lib/puffer/component.rb

Instance Method Summary collapse

Instance Method Details

#controller_pathObject



18
19
20
# File 'lib/puffer/component.rb', line 18

def controller_path
  @controller_path ||= name.sub(/Component$/, '').underscore unless anonymous?
end