Permalink
Browse files

add explicit save to admin edit

  • Loading branch information...
mschoch committed Oct 5, 2012
1 parent b5e6087 commit a11781ee9745b60db7ca87f26296b3faa3e28272
Showing with 2 additions and 0 deletions.
  1. +2 −0 app/controllers/admin/articles_controller.rb
@@ -54,6 +54,8 @@ def update
format.xml { render :xml => @article.errors, :status => :unprocessable_entity }
end
end
+
+ @article.save
end
def destroy

0 comments on commit a11781e

Please sign in to comment.