app/controllers/decidim/initiatives/committee_requests_controller.rb in decidim-initiatives-0.9.1 vs app/controllers/decidim/initiatives/committee_requests_controller.rb in decidim-initiatives-0.11.0.pre1
- old
+ new
@@ -5,11 +5,10 @@
# Controller in charge of managing committee membership
class CommitteeRequestsController < Decidim::ApplicationController
include Decidim::Initiatives::NeedsInitiative
helper Decidim::ActionAuthorizationHelper
- helper Decidim::Initiatives::PartialTranslationsHelper
helper InitiativeHelper
include Decidim::Initiatives::ActionAuthorization
# GET /initiatives/:initiative_id/committee_requests/new
@@ -23,11 +22,11 @@
SpawnCommitteeRequest.call(current_initiative, current_user) do
on(:ok) do
redirect_to initiatives_path, flash: {
notice: I18n.t(
- ".success",
- scope: %w[decidim initiatives committee_requests spawn]
+ "success",
+ scope: %w(decidim initiatives committee_requests spawn)
)
}
end
on(:invalid) do |request|