diff --git a/app/views/layouts/_navbar.html.erb b/app/views/layouts/_navbar.html.erb
index 4193b80..62d9acf 100644
--- a/app/views/layouts/_navbar.html.erb
+++ b/app/views/layouts/_navbar.html.erb
@@ -12,7 +12,7 @@
-
- <%= form_tag("bikes/search", method: "get", class: "form-inline") do %>
+ <%= form_tag(search_bikes_path, method: "get", class: "form-inline") do %>
<%= label_tag(:log_number, "Search for a bike by log number:") %>
<%= text_field_tag :log_number, "", class: "form-control" %>
<%= submit_tag("Search", class: "btn btn-default") %>