Reputation: 3615
Thats the link_to
<%= link_to('Dashboard', dashboard_index) do %>
<i class="icon-play"></i>
<% end %>
Thats the corresponding rake routes
entry.
dashboard_index GET /dashboard/index(.:format) dashboard#index
What could be wrong? Any suggestion or idea?
thanks in advance best regards denym
Upvotes: 0
Views: 1706
Reputation: 878
It should be
<%= link_to(dashboard_index_path) do %>
Dashboard
<i class="icon-play"></i>
<% end %>
Upvotes: 4