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