Class: RedmineExtensions::Hooks

Inherits:
Redmine::Hook::ViewListener
  • Object
show all
Defined in:
lib/redmine_extensions/hooks.rb

Instance Method Summary collapse

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