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.27.9 config/routes.rb
decidim-system-0.27.8 config/routes.rb
decidim-system-0.27.7 config/routes.rb
decidim-system-0.27.6 config/routes.rb
decidim-system-0.26.10 config/routes.rb
decidim-system-0.26.9 config/routes.rb
decidim-system-0.27.5 config/routes.rb
decidim-system-0.26.8 config/routes.rb
decidim-system-0.27.4 config/routes.rb
decidim-system-0.27.3 config/routes.rb
decidim-system-0.26.7 config/routes.rb
decidim-system-0.26.5 config/routes.rb
decidim-system-0.27.2 config/routes.rb
decidim-system-0.27.1 config/routes.rb
decidim-system-0.26.4 config/routes.rb
decidim-system-0.27.0 config/routes.rb
decidim-system-0.26.3 config/routes.rb
decidim-system-0.27.0.rc2 config/routes.rb
decidim-system-0.27.0.rc1 config/routes.rb
decidim-system-0.26.2 config/routes.rb