1. Bogdan Savluk
  2. galleryManager
Issue #7 resolved

Use Yii postOnly filter instead doubles of getIsPostRequest()

Ruslan Fadeev
created an issue

http://www.yiiframework.com/doc/guide/1.1/ru/basics.controller#sec-5

    public function filters()
    {
        return array(
            'postOnly + ajaxUpload, changeData, order, ajaxDelete',
        );
    }

and remove if (Yii::app()->getRequest()->getIsPostRequest()) { ;)

Comments (1)

  1. Log in to comment