mirror of
https://github.com/anteo/redmine_custom_workflows.git
synced 2026-01-26 00:04:20 +00:00
Error after install on fresh 4.1.1 #193
This commit is contained in:
parent
49fbc80e35
commit
a93da15a8e
@ -25,7 +25,7 @@ module RedmineCustomWorkflows
|
||||
class Hooks < Redmine::Hook::ViewListener
|
||||
|
||||
def view_layouts_base_html_head(context={})
|
||||
return unless context[:controller].class.name.match?(/^(CustomWorkflows|Projects)/)
|
||||
return unless /^(CustomWorkflows|Projects)/.match?(context[:controller].class.name)
|
||||
"\n".html_safe + stylesheet_link_tag('custom_workflows.css', plugin: :redmine_custom_workflows)
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user