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