mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-02-13 09:13:58 -05:00
use symbol keys
This commit is contained in:
10
init.rb
10
init.rb
@@ -21,11 +21,11 @@ Redmine::Plugin.register :redmine_qbo do
|
|||||||
requires_redmine version_or_higher: '6.1.0'
|
requires_redmine version_or_higher: '6.1.0'
|
||||||
|
|
||||||
# Add safe attributes for core models
|
# Add safe attributes for core models
|
||||||
Issue.safe_attributes 'customer_id'
|
Issue.safe_attributes :customer_id
|
||||||
Issue.safe_attributes 'estimate_id'
|
Issue.safe_attributes :estimate_id
|
||||||
Issue.safe_attributes 'invoice_id'
|
Issue.safe_attributes :invoice_id
|
||||||
User.safe_attributes 'employee_id'
|
User.safe_attributes :employee_id
|
||||||
TimeEntry.safe_attributes 'billed'
|
TimeEntry.safe_attributes :billed
|
||||||
|
|
||||||
# set per_page globally
|
# set per_page globally
|
||||||
WillPaginate.per_page = 20
|
WillPaginate.per_page = 20
|
||||||
|
|||||||
Reference in New Issue
Block a user