##// END OF EJS Templates
Added page association on versioned WikiContent...
Jean-Philippe Lang -
r562:5332c4362cdf
parent child
Show More
@@ -25,6 +25,7 class WikiContent < ActiveRecord::Base
25
25
26 acts_as_versioned
26 acts_as_versioned
27 class Version
27 class Version
28 belongs_to :page, :class_name => 'WikiPage', :foreign_key => 'page_id'
28 belongs_to :author, :class_name => 'User', :foreign_key => 'author_id'
29 belongs_to :author, :class_name => 'User', :foreign_key => 'author_id'
29 attr_protected :data
30 attr_protected :data
30
31
General Comments 0
You need to be logged in to leave comments. Login now