Use AJAX requests to select legislation proposals

Now the interface is more similar to the one in budget investments.
This commit is contained in:
Javi Martín
2018-09-17 17:38:00 +02:00
parent 667c2c82b5
commit 75d1ab1e52
7 changed files with 4 additions and 10 deletions

View File

@@ -12,7 +12,5 @@ class Admin::Legislation::ProposalsController < Admin::Legislation::BaseControll
def toggle_selection
@proposal.toggle :selected
@proposal.save!
redirect_to admin_legislation_process_proposals_path,
notice: t('admin.legislation.proposals.update.notice')
end
end