From aea82831056b6b8916f002dd75423e87547911a1 Mon Sep 17 00:00:00 2001 From: Alexander Cam Liu Date: Thu, 25 Feb 2021 15:38:31 -0600 Subject: [PATCH 1/5] redirect to new url '/courses' instead of '/dashboard' --- app/controllers/webview_controller.rb | 2 +- app/views/layouts/admin.html.erb | 2 +- app/views/layouts/content_analyst.html.erb | 2 +- app/views/layouts/customer_service.html.erb | 2 +- app/views/layouts/research.html.erb | 2 +- config/routes.rb | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/controllers/webview_controller.rb b/app/controllers/webview_controller.rb index 46febf8345..7aeb368c80 100644 --- a/app/controllers/webview_controller.rb +++ b/app/controllers/webview_controller.rb @@ -10,7 +10,7 @@ def home if params[:cc] == "1" redirect_to 'http://cc.openstax.org' elsif current_user.is_signed_in? - redirect_to dashboard_path + redirect_to '/courses' end end diff --git a/app/views/layouts/admin.html.erb b/app/views/layouts/admin.html.erb index a160159c71..5b48f50c57 100644 --- a/app/views/layouts/admin.html.erb +++ b/app/views/layouts/admin.html.erb @@ -98,7 +98,7 @@