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