From e2640b58d9c5c16f19eb71b1b6b06b676cbcb32b Mon Sep 17 00:00:00 2001 From: baarkerlounger Date: Tue, 30 Nov 2021 19:00:03 +0000 Subject: [PATCH] Don't move account route for now --- config/routes.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/config/routes.rb b/config/routes.rb index ddd1f5dc8..f30e8868c 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -12,13 +12,15 @@ Rails.application.routes.draw do ActiveAdmin.routes(self) root to: "test#index" get "about", to: "about#index" + get "/users/account", to: "users/account#index" form_handler = FormHandler.instance form = form_handler.get_form("2021_2022") resources :users do - get "account", to: "users/account#index" - get "account/personal_details", to: "users/account#personal_details" + collection do + get "account/personal_details", to: "users/account#personal_details" + end end resources :organisations do