Sha256: d8ca77e52cd90d8861aa025cca4faef78835215b5c825fd31461a592bf4b7512

Contents?: true

Size: 486 Bytes

Versions: 66

Compression:

Stored size: 486 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Pages
    # This is the admin interface for `decidim-pages`. It lets you edit and
    # configure the page associated to a participatory process.
    class AdminEngine < ::Rails::Engine
      isolate_namespace Decidim::Pages::Admin

      paths["db/migrate"] = nil

      routes do
        post "/", to: "pages#update", as: :page
        root to: "pages#edit"
      end

      def load_seed
        nil
      end
    end
  end
end

Version data entries

66 entries across 66 versions & 2 rubygems

Version Path
decidim-pages-0.3.1 lib/decidim/pages/admin_engine.rb
decidim-0.3.1 decidim-pages/lib/decidim/pages/admin_engine.rb
decidim-pages-0.3.0 lib/decidim/pages/admin_engine.rb
decidim-0.3.0 decidim-pages/lib/decidim/pages/admin_engine.rb
decidim-pages-0.2.0 lib/decidim/pages/admin_engine.rb
decidim-0.2.0 decidim-pages/lib/decidim/pages/admin_engine.rb