patch #9429 Display Wiki edits in activity log (Nick Read)

git-svn-id: http://redmine.rubyforge.org/svn/trunk@370 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang committed 2007-03-23 15:58:02 +00:00
1 parent 76d4ac17a2
commit 724ca74f51
9 files changed
+43 -3

No files matched your search

+5 -1
View File
@@ -29,6 +29,10 @@ class WikiPage < ActiveRecord::Base
end
def pretty_title
title.tr '_', ' '
WikiPage.pretty_title(title)
end
def self.pretty_title(str)
(str && str.is_a?(String)) ? str.tr('_', ' ') : str
end
end