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

@@ -19,7 +19,7 @@
<% elsif can?(:dashboard, proposal) %>
<td>
<%= link_to t("proposals.show.dashboard_proposal_link"),
proposal_dashboard_index_path(proposal), class: 'button hollow expanded' %>
proposal_dashboard_path(proposal), class: 'button hollow expanded' %>
</td>
<% else %>
<td class="text-center">