##// END OF EJS Templates
Replaced hard coded help link....
Jean-Philippe Lang -
r432:1adf56664d95
parent child
Show More
@@ -33,11 +33,8 class HelpController < ApplicationController
33 # choose language according to available help translations
33 # choose language according to available help translations
34 lang = (@help_config['langs'].include? current_language.to_s) ? current_language.to_s : @help_config['langs'].first
34 lang = (@help_config['langs'].include? current_language.to_s) ? current_language.to_s : @help_config['langs'].first
35
35
36 if template
36 url = "/manual/#{lang}/" + (template || "index.html")
37 redirect_to "/manual/#{lang}/#{template}"
37 redirect_to(request.relative_url_root + url)
38 else
39 redirect_to "/manual/#{lang}/index.html"
40 end
41 end
38 end
42
39
43 private
40 private
General Comments 0
You need to be logged in to leave comments. Login now