Sha256: c4235f92a94c268b9f17cf2e538841903aefc7d75034574b3a0a810b48995925
Contents?: true
Size: 679 Bytes
Versions: 78
Compression:
Stored size: 679 Bytes
Contents
# frozen_string_literal: true module Decidim module <%= component_module_name %> # This is the engine that runs on the public interface of `<%= component_module_name %>`. class AdminEngine < ::Rails::Engine isolate_namespace Decidim::<%= component_module_name %>::Admin paths["db/migrate"] = nil paths["lib/tasks"] = nil routes do # Add admin engine routes here # resources :<%= component_name %> do # collection do # resources :exports, only: [:create] # end # end # root to: "<%= component_name %>#index" end def load_seed nil end end end end
Version data entries
78 entries across 78 versions & 1 rubygems