@@ -28,7 +28,7 class WikiPage < ActiveRecord::Base | |||||
28 | acts_as_event :title => Proc.new {|o| "#{l(:label_wiki)}: #{o.title}"}, |
|
28 | acts_as_event :title => Proc.new {|o| "#{l(:label_wiki)}: #{o.title}"}, | |
29 | :description => :text, |
|
29 | :description => :text, | |
30 | :datetime => :created_on, |
|
30 | :datetime => :created_on, | |
31 |
:url => Proc.new {|o| {:controller => 'wiki', :id => o.wiki.project |
|
31 | :url => Proc.new {|o| {:controller => 'wiki', :id => o.wiki.project, :page => o.title}} | |
32 |
|
32 | |||
33 | acts_as_searchable :columns => ['title', 'text'], |
|
33 | acts_as_searchable :columns => ['title', 'text'], | |
34 | :include => [{:wiki => :project}, :content], |
|
34 | :include => [{:wiki => :project}, :content], |
General Comments 0
You need to be logged in to leave comments.
Login now