decidim-surveys/lib/decidim/surveys/admin_engine.rb in decidim-0.5.1 vs decidim-surveys/lib/decidim/surveys/admin_engine.rb in decidim-0.6.0
- old
+ new
@@ -13,10 +13,10 @@
routes do
post "/", to: "surveys#update", as: :survey
root to: "surveys#edit"
end
- initializer "decidim_surveys.assets" do |app|
+ initializer "decidim_surveys.admin_assets" do |app|
app.config.assets.precompile += %w(admin/decidim_surveys_manifest.js)
end
initializer "decidim_surveys.inject_abilities_to_user" do |_app|
Decidim.configure do |config|