Module: ActivePath
- Defined in:
- lib/active_path/view_injection.rb,
lib/active_path/view_injection/engine.rb,
lib/active_path/view_injection/version.rb,
lib/active_path/view_injection/subscriber.rb,
lib/active_path/view_injection/configuration/partial.rb,
lib/active_path/view_injection/conditions/conditional.rb,
lib/active_path/view_injection/configuration/partials.rb,
lib/active_path/view_injection/configuration/attachment.rb
Defined Under Namespace
Modules: ViewInjection
Class Method Summary collapse
Class Method Details
.append(partial) ⇒ Object
6 7 8 |
# File 'lib/active_path/view_injection.rb', line 6 def self.append(partial) config.partials.append(partial) end |
.prepend(partial) ⇒ Object
3 4 5 |
# File 'lib/active_path/view_injection.rb', line 3 def self.prepend(partial) config.partials.prepend(partial) end |