Class: RedmineExtensions::Hooks
- Inherits:
-
Redmine::Hook::ViewListener
- Object
- Redmine::Hook::ViewListener
- RedmineExtensions::Hooks
- Defined in:
- lib/redmine_extensions/hooks.rb
Instance Method Summary collapse
-
#easy_extensions_blocking_javascripts_hook(context = {}) ⇒ Object
DEFERRED JAVASCRIPTS ###.
- #easy_extensions_javascripts_hook(context = {}) ⇒ Object
Instance Method Details
#easy_extensions_blocking_javascripts_hook(context = {}) ⇒ Object
DEFERRED JAVASCRIPTS ###
5 6 7 |
# File 'lib/redmine_extensions/hooks.rb', line 5 def easy_extensions_blocking_javascripts_hook(context = {}) context[:template].require_asset('redmine_extensions/blocking') end |
#easy_extensions_javascripts_hook(context = {}) ⇒ Object
9 10 11 |
# File 'lib/redmine_extensions/hooks.rb', line 9 def easy_extensions_javascripts_hook(context = {}) context[:template].require_asset('redmine_extensions/application') end |