mirror of
https://github.com/rickbarrette/redmine_qbo_vehicles.git
synced 2026-02-13 09:34:00 -05:00
Lose the hash rocket, use symbols
This commit is contained in:
@@ -19,7 +19,7 @@ module Vehicles
|
||||
|
||||
# Pass all prebuilt form components to our partial
|
||||
context[:controller].send(:render_to_string, {
|
||||
:partial => 'customers/show_hook', locals: { customer: context[:customer] }
|
||||
partial: 'customers/show_hook', locals: { customer: context[:customer] }
|
||||
})
|
||||
|
||||
end
|
||||
|
||||
@@ -36,11 +36,11 @@ module Vehicles
|
||||
end
|
||||
|
||||
# Generate the drop down list of vehicles
|
||||
vehicle = f.select :vehicle_id, vehicles, :selected => selected_vehicle, include_blank: true
|
||||
vehicle = f.select :vehicle_id, vehicles, selected: selected_vehicle, include_blank: true
|
||||
|
||||
# Pass all prebuilt form components to our partial
|
||||
context[:controller].send(:render_to_string, {
|
||||
:partial => 'issues/form_hook_vehicles',
|
||||
partial: 'issues/form_hook_vehicles',
|
||||
locals: {
|
||||
vehicle: vehicle
|
||||
}
|
||||
|
||||
@@ -30,7 +30,7 @@ module Vehicles
|
||||
split_vin = vin.scan(/.{1,9}/) if vin
|
||||
|
||||
context[:controller].send(:render_to_string, {
|
||||
:partial => 'issues/show_issue_view_right',
|
||||
partial: 'issues/show_issue_view_right',
|
||||
locals: {
|
||||
vehicle: vehicle,
|
||||
split_vin: split_vin,
|
||||
|
||||
Reference in New Issue
Block a user