[fix #158] Fixed bug with render in BlobController#raw

This commit is contained in:
George Vinogradov 2012-02-04 22:03:29 +04:00
parent 829953372d
commit 0591ba4378
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ module WikiHelper
name == 'Home' ? project_wiki_index_path(project) : project_wiki_path(project, name)
end
def formats
def wiki_formats
APP_CONFIG['wiki_formats'].map do |key, val|
[ val, key.to_s ]
end.sort do |a, b|

View File

@ -44,7 +44,7 @@
%span= t("layout.wiki.editor.help")
#gollum-editor-format-selector
= select_tag :format, options_for_select(formats, format), :id => "wiki_format"
= select_tag :format, options_for_select(wiki_formats, format), :id => "wiki_format"
= label_tag :format, t("layout.wiki.editor.format")
#gollum-editor-help.jaws
%ul#gollum-editor-help-parent