Sha256: 2c714d959318e3870e5181d7815eae272322062a6e0b9e81d9e4b93846bc2161

Contents?: true

Size: 558 Bytes

Versions: 3

Compression:

Stored size: 558 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Notify
    # This is the engine that runs on the public interface of `Notify`.
    class AdminEngine < ::Rails::Engine
      isolate_namespace Decidim::Notify::Admin

      paths["db/migrate"] = nil
      paths["lib/tasks"] = nil

      routes do
        # Add admin engine routes here
        resources :conversations
        resources :chapters
        get :users, to: "conversations#users"
        root to: "conversations#index"
      end

      def load_seed
        nil
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
decidim-notify-0.5 lib/decidim/notify/admin_engine.rb
decidim-notify-0.4 lib/decidim/notify/admin_engine.rb
decidim-notify-0.3 lib/decidim/notify/admin_engine.rb