Use AJAX requests to select legislation proposals
Now the interface is more similar to the one in budget investments.
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user