Sha256: 9031e71bc8b74a4d0ca86f2c84f4e88fb1b65af0f442f68125ad870646705465
Contents?: true
Size: 710 Bytes
Versions: 7
Compression:
Stored size: 710 Bytes
Contents
# frozen_string_literal: true <%- unless options[:skip_sidekiq] -%> require 'sidekiq/web' require 'sidekiq-scheduler/web' <%- end -%> Rails.application.routes.draw do <%- unless options[:noauth] -%> devise_for :users resources :users, only: [:index] do get :impersonate, on: :member post :stop_impersonating, on: :collection end # Admin/Dashboard namespace :admin do resources :users resources :login_activities root to: 'users#index' end <%- end -%> <%= add_extension_routes(options) -%> get 'welcome', to: 'pages#welcome', as: :welcome root to: 'pages#welcome' # For details on the DSL available within this file, see https://guides.rubyonrails.org/routing.html end
Version data entries
7 entries across 7 versions & 1 rubygems