mirror of
https://github.com/rickbarrette/redmine_qbo_vehicles.git
synced 2026-02-13 01:33:58 -05:00
Use symbols
This commit is contained in:
2
init.rb
2
init.rb
@@ -27,7 +27,7 @@ Redmine::Plugin.register :redmine_qbo_vehicles do
|
|||||||
end
|
end
|
||||||
|
|
||||||
# Add safe attributes for core models
|
# Add safe attributes for core models
|
||||||
Issue.safe_attributes 'vehicle_id'
|
Issue.safe_attributes :vehicle_id
|
||||||
|
|
||||||
# Permissions for security
|
# Permissions for security
|
||||||
permission :view_vehicles, vehicles: :new, public: false
|
permission :view_vehicles, vehicles: :new, public: false
|
||||||
|
|||||||
Reference in New Issue
Block a user