summaryrefslogtreecommitdiffstats
path: root/app/models/wiki_content.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-04-12 16:54:14 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-04-12 16:54:14 +0000
commit6d2a89142af235b5d0a9e30350859fb99ac665f3 (patch)
tree6d1ee51c6fe03dd5020299f9c50ad8ee0b688b57 /app/models/wiki_content.rb
parent85f040c5362dd89829f694a58f4e91ced7fcd33e (diff)
downloadredmine-6d2a89142af235b5d0a9e30350859fb99ac665f3.tar.gz
redmine-6d2a89142af235b5d0a9e30350859fb99ac665f3.zip
Add an icon to each event on the activity view.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1342 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/wiki_content.rb')
-rw-r--r--app/models/wiki_content.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/wiki_content.rb b/app/models/wiki_content.rb
index 13915c274..724354ad6 100644
--- a/app/models/wiki_content.rb
+++ b/app/models/wiki_content.rb
@@ -32,6 +32,7 @@ class WikiContent < ActiveRecord::Base
acts_as_event :title => Proc.new {|o| "#{l(:label_wiki_edit)}: #{o.page.title} (##{o.version})"},
:description => :comments,
:datetime => :updated_on,
+ :type => 'wiki-page',
:url => Proc.new {|o| {:controller => 'wiki', :id => o.page.wiki.project_id, :page => o.page.title, :version => o.version}}
def text=(plain)