mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 17:04:23 -05:00
Update init.rb
This commit is contained in:
4
init.rb
4
init.rb
@@ -37,6 +37,10 @@ Redmine::Plugin.register :redmine_qbo do
|
||||
author_url 'http://rickbarrette.org'
|
||||
settings :default => {'empty' => true}, :partial => 'qbo/settings'
|
||||
|
||||
every :sunday do # Many shortcuts available: :hour, :day, :month, :year, :reboot
|
||||
runner "EmailWorker.perform_async"
|
||||
end
|
||||
|
||||
# Add safe attributes
|
||||
Issue.safe_attributes 'customer_id'
|
||||
Issue.safe_attributes 'qbo_item_id'
|
||||
|
||||
Reference in New Issue
Block a user