Sha256: 5b112b4eb6fdedb49fa69366efe98d22129e8e8813885b6134ba79587ad4384b

Contents?: true

Size: 496 Bytes

Versions: 40

Compression:

Stored size: 496 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

40 entries across 40 versions & 2 rubygems

Version Path
decidim-system-0.6.8 config/routes.rb
decidim-0.6.8 decidim-system/config/routes.rb
decidim-system-0.6.7 config/routes.rb
decidim-0.6.7 decidim-system/config/routes.rb
decidim-system-0.6.6 config/routes.rb
decidim-0.6.6 decidim-system/config/routes.rb
decidim-system-0.6.5 config/routes.rb
decidim-0.6.5 decidim-system/config/routes.rb
decidim-system-0.6.4 config/routes.rb
decidim-0.6.4 decidim-system/config/routes.rb
decidim-system-0.6.3 config/routes.rb
decidim-0.6.3 decidim-system/config/routes.rb
decidim-system-0.6.2 config/routes.rb
decidim-0.6.2 decidim-system/config/routes.rb
decidim-system-0.6.1 config/routes.rb
decidim-0.6.1 decidim-system/config/routes.rb
decidim-system-0.6.0 config/routes.rb
decidim-0.6.0 decidim-system/config/routes.rb
decidim-system-0.5.1 config/routes.rb
decidim-0.5.1 decidim-system/config/routes.rb