Sha256: e23ee0411f8f8d68c1d5f02e82268bf70aa7f20972658f9ba50570daecae3bcd
Contents?: true
Size: 607 Bytes
Versions: 7
Compression:
Stored size: 607 Bytes
Contents
# frozen_string_literal: true module Decidim module Surveys # This is the engine that runs on the public interface of `Surveys`. class AdminEngine < ::Rails::Engine isolate_namespace Decidim::Surveys::Admin paths["db/migrate"] = nil paths["lib/tasks"] = nil routes do post "/", to: "surveys#update", as: :survey root to: "surveys#edit" end initializer "decidim_surveys.admin_assets" do |app| app.config.assets.precompile += %w(admin/decidim_surveys_manifest.js) end def load_seed nil end end end end
Version data entries
7 entries across 7 versions & 1 rubygems