Routes have been refactored

Dashboard routes have been refactored. Now instead of having resources
for dashboard and routes inside a dashboard namespace the proposal
routes contain a dashboar singleton containing everything related to it.
This commit is contained in:
Juan Salvador Pérez García
2018-09-17 15:44:45 +02:00
parent 6f1a866878
commit 42d448248c
17 changed files with 90 additions and 85 deletions

View File

@@ -33,7 +33,7 @@
<strong><%= t('.improve_it') %></strong>
</p>
<div class="centered">
<%= link_to t('.dashboard'), proposal_dashboard_index_path(@proposal), class: 'button' %>
<%= link_to t('.dashboard'), proposal_dashboard_path(@proposal), class: 'button' %>
</div>
</div>
<% end %>