Fixed warning: toplevel constant User referenced by WikiContent::User

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1000 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2007-12-15 11:57:48 +00:00
parent 361c50c1f4
commit 124ef65c1f
1 changed files with 2 additions and 2 deletions

View File

@ -25,8 +25,8 @@ class WikiContent < ActiveRecord::Base
acts_as_versioned acts_as_versioned
class Version class Version
belongs_to :page, :class_name => 'WikiPage', :foreign_key => 'page_id' belongs_to :page, :class_name => '::WikiPage', :foreign_key => 'page_id'
belongs_to :author, :class_name => 'User', :foreign_key => 'author_id' belongs_to :author, :class_name => '::User', :foreign_key => 'author_id'
attr_protected :data attr_protected :data
acts_as_event :title => Proc.new {|o| "#{l(:label_wiki_edit)}: #{o.page.title} (##{o.version})"}, acts_as_event :title => Proc.new {|o| "#{l(:label_wiki_edit)}: #{o.page.title} (##{o.version})"},