summaryrefslogtreecommitdiffstats
path: root/lib/redmine/views/my_page/block.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-04-05 13:33:54 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-04-05 13:33:54 +0000
commitdea072f50619dc3d610578fe2bc94d43b7a62bfd (patch)
treed4c238b7156e35af095b415a20b6c468cc8afc93 /lib/redmine/views/my_page/block.rb
parent66839c12dddd886bb828c6fe64da6ab0c195661b (diff)
downloadredmine-dea072f50619dc3d610578fe2bc94d43b7a62bfd.tar.gz
redmine-dea072f50619dc3d610578fe2bc94d43b7a62bfd.zip
Set a default scope for 'My page' block names translations (#3057).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2659 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/views/my_page/block.rb')
-rw-r--r--lib/redmine/views/my_page/block.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/views/my_page/block.rb b/lib/redmine/views/my_page/block.rb
index a9a52a052..b6ca29f97 100644
--- a/lib/redmine/views/my_page/block.rb
+++ b/lib/redmine/views/my_page/block.rb
@@ -22,7 +22,7 @@ module Redmine
def self.additional_blocks
@@additional_blocks ||= Dir.glob("#{RAILS_ROOT}/vendor/plugins/*/app/views/my/blocks/_*.{rhtml,erb}").inject({}) do |h,file|
name = File.basename(file).split('.').first.gsub(/^_/, '')
- h[name] = name
+ h[name] = name.to_sym
h
end
end