From e65980dc0995ee94f399f2d7e0d1b56b8ac6af57 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Thu, 15 Apr 2021 00:32:44 +0000 Subject: [PATCH] Use named routes in base layout and account sidebar (#35075). Patch by Jan Schulz-Hofen. git-svn-id: http://svn.redmine.org/redmine/trunk@20944 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/layouts/base.html.erb | 6 +++--- app/views/my/_sidebar.html.erb | 2 +- config/routes.rb | 5 ++--- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/app/views/layouts/base.html.erb b/app/views/layouts/base.html.erb index 45337ce7e..43e7459e7 100644 --- a/app/views/layouts/base.html.erb +++ b/app/views/layouts/base.html.erb @@ -26,7 +26,7 @@ <% if User.current.logged? || !Setting.login_required? %>