Merged #7560 from trunk.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.2-stable@7561 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Etienne Massip committed 2011-10-02 15:35:39 +00:00
1 parent 4682acf040
commit 8158a26ee8
2 files changed
+21 -1

No files matched your search

+1 -1
View File
@@ -556,7 +556,7 @@ module ApplicationHelper
"##{anchor}"
else
case options[:wiki_links]
when :local; "#{title}.html"
when :local; "#{page.present? ? Wiki.titleize(page) : ''}.html" + (anchor.present? ? "##{anchor}" : '')
when :anchor; "##{title}" # used for single-file wiki export
else
wiki_page_id = page.present? ? Wiki.titleize(page) : nil