diff --git a/app/views/vehicle/index.html.erb b/app/views/vehicle/index.html.erb index 7d11f63..425c953 100644 --- a/app/views/vehicle/index.html.erb +++ b/app/views/vehicle/index.html.erb @@ -20,4 +20,4 @@ <% end %> -<%= button_to "New", vehicle, method: :new %> +<%= button_to "New", new_vehicle_path, method: :new %>