Sha256: d5978629295d1255e5738eec4acc275cee6895c10167fb918d5980e6d0c669a3

Contents?: true

Size: 464 Bytes

Versions: 10

Compression:

Stored size: 464 Bytes

Contents

# frozen_string_literal: true

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

      paths["db/migrate"] = nil

      routes do
        resources :posts
        root to: "posts#index"
      end

      def load_seed
        nil
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
decidim-blogs-0.13.1 lib/decidim/blogs/admin_engine.rb
decidim-blogs-0.12.2 lib/decidim/blogs/admin_engine.rb
decidim-blogs-0.13.0 lib/decidim/blogs/admin_engine.rb
decidim-blogs-0.12.1 lib/decidim/blogs/admin_engine.rb
decidim-blogs-0.13.0.pre1 lib/decidim/blogs/admin_engine.rb
decidim-blogs-0.12.0 lib/decidim/blogs/admin_engine.rb
decidim-blogs-0.11.2 lib/decidim/blogs/admin_engine.rb
decidim-blogs-0.12.0.pre lib/decidim/blogs/admin_engine.rb
decidim-blogs-0.11.1 lib/decidim/blogs/admin_engine.rb
decidim-blogs-0.11.0.pre1 lib/decidim/blogs/admin_engine.rb