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
2007-03-23 15:58:02 +00:00
parent 76d4ac17a2
commit 724ca74f51
9 changed files with 43 additions and 3 deletions
+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