diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-12-15 11:57:48 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-12-15 11:57:48 +0000 |
commit | 124ef65c1fd2c7174452ef80ebb52d4cdc99e80a (patch) | |
tree | 75746a315b4d98ef3b0e15937da6ea0747c604fb /app/models/wiki_content.rb | |
parent | 361c50c1f410ce575631bfb59cfdcdf5353d331b (diff) | |
download | redmine-124ef65c1fd2c7174452ef80ebb52d4cdc99e80a.tar.gz redmine-124ef65c1fd2c7174452ef80ebb52d4cdc99e80a.zip |
Fixed warning: toplevel constant User referenced by WikiContent::User
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1000 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/wiki_content.rb')
-rw-r--r-- | app/models/wiki_content.rb | 4 |
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})"}, |