From: Tom Hughes Date: Tue, 20 Apr 2010 13:19:05 +0000 (+0100) Subject: Update wiki link style to use the current default format X-Git-Tag: live~6947^2~1^2~3 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/88aa34f61bf74b723aa4a4431208c63783e834f8?ds=inline;hp=--cc Update wiki link style to use the current default format --- 88aa34f61bf74b723aa4a4431208c63783e834f8 diff --git a/app/helpers/browse_helper.rb b/app/helpers/browse_helper.rb index e252e300f..48dd590a2 100644 --- a/app/helpers/browse_helper.rb +++ b/app/helpers/browse_helper.rb @@ -45,7 +45,7 @@ module BrowseHelper def wikify(type, key, tag, text, wiki) my_locale = I18n.locale - url = "http://wiki.openstreetmap.org/index.php?title=#{wiki}&uselang=#{my_locale}" + url = "http://wiki.openstreetmap.org/wiki/#{wiki}?uselang=#{my_locale}" if type == "key" return '' + h(text) + ''