fixes #2885: "Is Deleted" not being recorded correctly for Wiki Page Versions

This commit is contained in:
r888888888
2017-02-15 15:32:41 -08:00
parent f374eec4a1
commit 291e9acdc7
2 changed files with 13 additions and 2 deletions

View File

@@ -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