fixes #2898: Wiki Page Versions still not recording "is_deleted"
This commit is contained in:
@@ -163,6 +163,7 @@ class WikiPage < ActiveRecord::Base
|
|||||||
:title => title,
|
:title => title,
|
||||||
:body => body,
|
:body => body,
|
||||||
:is_locked => is_locked,
|
:is_locked => is_locked,
|
||||||
|
:is_deleted => is_deleted,
|
||||||
:other_names => other_names
|
:other_names => other_names
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ class WikiPageVersion < ActiveRecord::Base
|
|||||||
belongs_to :wiki_page
|
belongs_to :wiki_page
|
||||||
belongs_to :updater, :class_name => "User"
|
belongs_to :updater, :class_name => "User"
|
||||||
belongs_to :artist
|
belongs_to :artist
|
||||||
attr_accessible :wiki_page_id, :title, :body, :is_locked, :updater_id, :updater_ip_addr, :version, :other_names
|
attr_accessible :wiki_page_id, :title, :body, :is_locked, :is_deleted, :updater_id, :updater_ip_addr, :version, :other_names
|
||||||
delegate :visible?, :to => :wiki_page
|
delegate :visible?, :to => :wiki_page
|
||||||
|
|
||||||
module SearchMethods
|
module SearchMethods
|
||||||
|
|||||||
Reference in New Issue
Block a user