Sha256: d8fc7f9af109257d3628bf1bf6876a65baf93f19a2366e28cc8f50f8f595917e

Contents?: true

Size: 621 Bytes

Versions: 13

Compression:

Stored size: 621 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
      paths["lib/tasks"] = nil

      routes do
        resources :posts do
          resources :attachment_collections, except: [:show]
          resources :attachments, except: [:show]
        end
        root to: "posts#index"
      end

      def load_seed
        nil
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
decidim-blogs-0.29.1 lib/decidim/blogs/admin_engine.rb
decidim-blogs-0.28.4 lib/decidim/blogs/admin_engine.rb
decidim-blogs-0.29.0 lib/decidim/blogs/admin_engine.rb
decidim-blogs-0.28.3 lib/decidim/blogs/admin_engine.rb
decidim-blogs-0.29.0.rc4 lib/decidim/blogs/admin_engine.rb
decidim-blogs-0.29.0.rc3 lib/decidim/blogs/admin_engine.rb
decidim-blogs-0.29.0.rc2 lib/decidim/blogs/admin_engine.rb
decidim-blogs-0.29.0.rc1 lib/decidim/blogs/admin_engine.rb
decidim-blogs-0.28.2 lib/decidim/blogs/admin_engine.rb
decidim-blogs-0.28.1 lib/decidim/blogs/admin_engine.rb
decidim-blogs-0.28.0 lib/decidim/blogs/admin_engine.rb
decidim-blogs-0.28.0.rc5 lib/decidim/blogs/admin_engine.rb
decidim-blogs-0.28.0.rc4 lib/decidim/blogs/admin_engine.rb