mirror of
https://github.com/anteo/redmine_custom_workflows.git
synced 2026-01-26 00:04:20 +00:00
#5: Add Mailer helper for sending custom emails from workflows (check Wiki)
This commit is contained in:
parent
209329b319
commit
072c817f37
3
init.rb
3
init.rb
@ -17,6 +17,9 @@ Rails.application.config.to_prepare do
|
|||||||
unless Group.include?(RedmineCustomWorkflows::GroupPatch)
|
unless Group.include?(RedmineCustomWorkflows::GroupPatch)
|
||||||
Group.send(:include, RedmineCustomWorkflows::GroupPatch)
|
Group.send(:include, RedmineCustomWorkflows::GroupPatch)
|
||||||
end
|
end
|
||||||
|
unless Mailer.include?(RedmineCustomWorkflows::MailerPatch)
|
||||||
|
Mailer.send(:include, RedmineCustomWorkflows::MailerPatch)
|
||||||
|
end
|
||||||
unless ActionView::Base.include?(RedmineCustomWorkflows::Helper)
|
unless ActionView::Base.include?(RedmineCustomWorkflows::Helper)
|
||||||
ActionView::Base.send(:include, RedmineCustomWorkflows::Helper)
|
ActionView::Base.send(:include, RedmineCustomWorkflows::Helper)
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user