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.13.1 lib/decidim/pages/admin_engine.rb
decidim-pages-0.12.2 lib/decidim/pages/admin_engine.rb
decidim-pages-0.13.0 lib/decidim/pages/admin_engine.rb
decidim-pages-0.12.1 lib/decidim/pages/admin_engine.rb
decidim-pages-0.13.0.pre1 lib/decidim/pages/admin_engine.rb
decidim-pages-0.12.0 lib/decidim/pages/admin_engine.rb
decidim-pages-0.11.2 lib/decidim/pages/admin_engine.rb
decidim-pages-0.12.0.pre lib/decidim/pages/admin_engine.rb
decidim-pages-0.11.1 lib/decidim/pages/admin_engine.rb
decidim-pages-0.11.0.pre1 lib/decidim/pages/admin_engine.rb
decidim-pages-0.10.1 lib/decidim/pages/admin_engine.rb
decidim-pages-0.10.0 lib/decidim/pages/admin_engine.rb
decidim-pages-0.9.3 lib/decidim/pages/admin_engine.rb
decidim-pages-0.9.2 lib/decidim/pages/admin_engine.rb
decidim-pages-0.9.1 lib/decidim/pages/admin_engine.rb
decidim-pages-0.9.0 lib/decidim/pages/admin_engine.rb
decidim-pages-0.8.4 lib/decidim/pages/admin_engine.rb
decidim-pages-0.8.3 lib/decidim/pages/admin_engine.rb
decidim-pages-0.8.2 lib/decidim/pages/admin_engine.rb
decidim-pages-0.8.1 lib/decidim/pages/admin_engine.rb