test/support/dummy/config/routes.rb in simple_auth-3.0.0 vs test/support/dummy/config/routes.rb in simple_auth-3.1.0
- old
+ new
@@ -1,5 +1,7 @@
+# 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"
@@ -8,9 +10,11 @@
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