Sha256: 6baa44ec67e3506602a695632f66a1c21b60e8750363fcc7a4a30b6ebb7e0efe

Contents?: true

Size: 552 Bytes

Versions: 3

Compression:

Stored size: 552 Bytes

Contents

# frozen_string_literal: true

require "rails"
require "active_support/all"
require "kaminari"
require "jquery-tmpl-rails"

require "decidim/core"

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

      routes do
        resources :posts, only: [:index, :show]
        root to: "posts#index"
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
decidim-blogs-0.11.2 lib/decidim/blogs/engine.rb
decidim-blogs-0.11.1 lib/decidim/blogs/engine.rb
decidim-blogs-0.11.0.pre1 lib/decidim/blogs/engine.rb