Sha256: fa44a7555b2989ee609dc16a30ec4fee6915977681d3b1d5178896e102093de6

Contents?: true

Size: 481 Bytes

Versions: 5

Compression:

Stored size: 481 Bytes

Contents

# frozen_string_literal: true

require "decidim/core"

module Decidim
  module Pages
    # This is the engine that runs on the public interface of `decidim-pages`.
    # It mostly handles rendering the created page associated to a participatory
    # process.
    class Engine < ::Rails::Engine
      isolate_namespace Decidim::Pages

      routes do
        resources :pages, only: [:show], controller: :application
        root to: "application#show"
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
decidim-pages-0.25.0 lib/decidim/pages/engine.rb
decidim-pages-0.25.0.rc4 lib/decidim/pages/engine.rb
decidim-pages-0.25.0.rc3 lib/decidim/pages/engine.rb
decidim-pages-0.25.0.rc2 lib/decidim/pages/engine.rb
decidim-pages-0.25.0.rc1 lib/decidim/pages/engine.rb