Commit 5395834c

mo <mo.khan@gmail.com>
2017-09-24 19:07:16
what is PATH_INFO?
1 parent c8762fa
Changed files (1)
app
views
app/views/cakes/index.html.erb
@@ -1,5 +1,5 @@
 <% provide(:description, "CakeSide is a free site to share your cake creations and ideas with other cake fanatics like yourself") -%>
-<% provide(:search_path, request.env['PATH_INFO'] || cakes_path) %>
+<% provide(:search_path, cakes_path) %>
 <% provide(:container_class, 'container') %>
 
 <% unless user_signed_in? %>