Permalink
Browse files

updated obsolete code in blog tutorial

  • Loading branch information...
1 parent 04aa9a5 commit 9e9e43e4d5f5a61f39176606c123ebfbddc09d4a alexander.makarow committed Feb 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/blog/post.admin.txt
View
@@ -80,7 +80,7 @@ public function actionDelete()
// we only allow deletion via POST request
$this->loadModel()->delete();
- if(!isset($_POST['ajax']))
+ if(!isset($_GET['ajax']))
$this->redirect(array('index'));
}
else

0 comments on commit 9e9e43e

Please sign in to comment.