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:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user