Sha256: 5bff4ccd75a2e466c59b2ff8613d9768903a835487dc661ce4596cb1ef2316a2

Contents?: true

Size: 495 Bytes

Versions: 31

Compression:

Stored size: 495 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
    resources :admins
    root to: "dashboard#show"
  end
end

Version data entries

31 entries across 31 versions & 2 rubygems

Version Path
decidim-system-0.1.0 config/routes.rb
decidim-0.1.0 decidim-system/config/routes.rb
decidim-system-0.0.8.1 config/routes.rb
decidim-0.0.8.1 decidim-system/config/routes.rb
decidim-system-0.0.7 config/routes.rb
decidim-0.0.7 decidim-system/config/routes.rb
decidim-system-0.0.6 config/routes.rb
decidim-0.0.6 decidim-system/config/routes.rb
decidim-system-0.0.5 config/routes.rb
decidim-0.0.5 decidim-system/config/routes.rb
decidim-0.0.4 decidim-system/config/routes.rb
decidim-system-0.0.3 config/routes.rb
decidim-0.0.3 decidim-system/config/routes.rb
decidim-system-0.0.2 config/routes.rb
decidim-0.0.2 decidim-system/config/routes.rb
decidim-system-0.0.1 config/routes.rb
decidim-0.0.1 decidim-system/config/routes.rb
decidim-system-0.0.1.alpha9 config/routes.rb
decidim-0.0.1.alpha9 decidim-system/config/routes.rb
decidim-system-0.0.1.alpha8 config/routes.rb