Module: DecoratorDryer::ActiveStorageShortcuts
- Defined in:
- lib/decorator_dryer/active_storage_shortcuts.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.included(klass) ⇒ Object
5 6 7 8 |
# File 'lib/decorator_dryer/active_storage_shortcuts.rb', line 5 def self.included(klass) klass.extend(ClassMethods) klass.include(Rails.application.routes.url_helpers) end |