Sha256: 7faa928d15f590e821529b332bd2ad7095852711cb2220084a0c1959f57cf10b
Contents?: true
Size: 546 Bytes
Versions: 4
Compression:
Stored size: 546 Bytes
Contents
# frozen_string_literal: true Rails.application.routes.draw do get "/dashboard", to: "dashboard#index" get "/admin/dashboard", to: "admin/dashboard#index" get "/login", to: "sessions#new" controller :dashboard do get :log_in get :not_logged end controller :pages do get :index get :log_in get :logged_area, as: "pages_logged_area" end namespace :admin do controller :dashboard do get :index get :log_in_as_admin get :log_in_as_user get :log_in_with_admin_flag end end end
Version data entries
4 entries across 4 versions & 1 rubygems