fixes #2885: "Is Deleted" not being recorded correctly for Wiki Page Versions
This commit is contained in:
@@ -61,7 +61,7 @@ class WikiPagesController < ApplicationController
|
||||
|
||||
def destroy
|
||||
@wiki_page = WikiPage.find(params[:id])
|
||||
@wiki_page.update_attribute(:is_deleted, true)
|
||||
@wiki_page.update_attributes(:is_deleted => true)
|
||||
respond_with(@wiki_page)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user