summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/models/wiki_content.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/wiki_content.rb b/app/models/wiki_content.rb
index 4b60a4373..d0a48467b 100644
--- a/app/models/wiki_content.rb
+++ b/app/models/wiki_content.rb
@@ -25,8 +25,8 @@ class WikiContent < ActiveRecord::Base
acts_as_versioned
class Version
- belongs_to :page, :class_name => 'WikiPage', :foreign_key => 'page_id'
- belongs_to :author, :class_name => 'User', :foreign_key => 'author_id'
+ belongs_to :page, :class_name => '::WikiPage', :foreign_key => 'page_id'
+ belongs_to :author, :class_name => '::User', :foreign_key => 'author_id'
attr_protected :data
acts_as_event :title => Proc.new {|o| "#{l(:label_wiki_edit)}: #{o.page.title} (##{o.version})"},