Sha256: db07078843a5bf4cc684d630a6236126a5ff1e54efd7a7ac541b632bd040e10b

Contents?: true

Size: 551 Bytes

Versions: 45

Compression:

Stored size: 551 Bytes

Contents

# frozen_string_literal: true

Decidim::System::Engine.routes.draw do
  devise_for :admins,
             class_name: "Decidim::System::Admin",
             module: :devise,
             router_name: :decidim_system,
             controllers: {
               sessions: "decidim/system/devise/sessions",
               passwords: "decidim/system/devise/passwords"
             }

  authenticate(:admin) do
    resources :organizations, except: [:destroy]
    resources :admins
    resources :oauth_applications

    root to: "dashboard#show"
  end
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
decidim-system-0.23.3 config/routes.rb
decidim-system-0.23.2 config/routes.rb
decidim-system-0.23.1 config/routes.rb
decidim-system-0.23.1.rc1 config/routes.rb
decidim-system-0.23.0 config/routes.rb