Hides question menu on budget poll and changes redirect when create

This commit is contained in:
decabeza
2018-06-13 15:35:29 +02:00
committed by Javi Martín
parent 431c313487
commit fcbb11b26e
4 changed files with 26 additions and 16 deletions

View File

@@ -42,7 +42,7 @@
</td>
<td class="small">
<% if budget.poll.present? %>
<%= link_to t("admin.budgets.index.admin_ballots"), admin_poll_path(budget.poll) %>
<%= link_to t("admin.budgets.index.admin_ballots"), admin_poll_booth_assignments_path(budget.poll) %>
<% else %>
<%= link_to_create_budget_poll(budget) %>
<% end %>