mirror of
https://github.com/redmine/redmine.git
synced 2025-11-14 09:16:02 +01:00
english help translation added
thx to Karim Trott git-svn-id: http://redmine.rubyforge.org/svn/trunk@43 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -31,7 +31,7 @@ class HelpController < ApplicationController
|
||||
end
|
||||
end
|
||||
# choose language according to available help translations
|
||||
lang = (@help_config['langs'].include? current_language) ? current_language : @help_config['langs'].first
|
||||
lang = (@help_config['langs'].include? current_language.to_s) ? current_language.to_s : @help_config['langs'].first
|
||||
|
||||
if template
|
||||
redirect_to "/manual/#{lang}/#{template}"
|
||||
|
||||
Reference in New Issue
Block a user