Skip to content

Commit

Permalink
Fix wrong method call
Browse files Browse the repository at this point in the history
  • Loading branch information
alecslupu committed Jan 3, 2024
1 parent 7f915dc commit 5a01dcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/decidim/custom_proposal_states/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ class Engine < ::Rails::Engine
Rails.application.reloader.to_prepare do
Decidim.find_component_manifest(:proposals).on(:create) do |instance|
admin_user = GlobalID::Locator.locate(instance.versions.first.whodunnit)
Decidim::Proposals.create_default_states!(instance, admin_user)
Decidim::CustomProposalStates.create_default_states!(instance, admin_user)
end

Decidim.find_component_manifest(:proposals).seeds do |participatory_space|
Expand Down

0 comments on commit 5a01dcd

Please sign in to comment.