summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2020-02-26 13:37:32 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2020-02-26 13:37:32 +0000
commit6a6e19e86edef44a8bf88451981e8bb3b7925aed (patch)
treedcfaef63ba316f5ca93d04a10c37adc360312295 /app
parent74981c2f80b9cc7d6b88b6015931de9d8d58e48c (diff)
downloadredmine-6a6e19e86edef44a8bf88451981e8bb3b7925aed.tar.gz
redmine-6a6e19e86edef44a8bf88451981e8bb3b7925aed.zip
Don't use full path links with hostname
git-svn-id: http://svn.redmine.org/redmine/trunk@19530 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/helpers/projects_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/projects_helper.rb b/app/helpers/projects_helper.rb
index 0c8733b79..b714a1e0b 100644
--- a/app/helpers/projects_helper.rb
+++ b/app/helpers/projects_helper.rb
@@ -170,7 +170,7 @@ module ProjectsHelper
text = l(:button_project_bookmark)
end
- url = bookmark_project_url(project)
+ url = bookmark_project_path(project)
link_to text, url, remote: true, method: method, class: css
end