Commit 31d9dd54 authored by Shakarim Sapa's avatar Shakarim Sapa

- Fix

parent 2b5522e2
......@@ -19,7 +19,6 @@ class BlogBidController extends BaseController {
}
public function actionAdd(){
echo "ASD"; die;
Yii::$app->response->format = Response::FORMAT_JSON;
$date = new \DateTime();
......@@ -37,6 +36,7 @@ class BlogBidController extends BaseController {
return ['success' => true];
} else {
ActiveForm::validate($model); die;
return ActiveForm::validate($model);
}
} catch (Exception $e) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment