diff --git a/app/views/customer_appointments/_show_hook.html.erb b/app/views/customer_appointments/_show_hook.html.erb index cb13867..e112378 100644 --- a/app/views/customer_appointments/_show_hook.html.erb +++ b/app/views/customer_appointments/_show_hook.html.erb @@ -1,4 +1,4 @@ -<% if <% if User.current.allowed_to?(:add_vehicles, nil, global: true) %> %> +<% if User.current.allowed_to?(:add_vehicles, nil, global: true) %> <% if appointment.customer.present? %> <% unless appointment.vehicle.present? &&%>