Lose the hash rocket, use symbols

This commit is contained in:
2026-01-29 22:52:17 -05:00
parent fa72b1c837
commit e0a23bac20
13 changed files with 27 additions and 27 deletions

View File

@@ -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

View File

@@ -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
}

View File

@@ -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,