small fixes
This commit is contained in:
@@ -92,18 +92,6 @@ class DiscountController extends Controller
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Deletes an existing Discount model.
|
||||
* If deletion is successful, the browser will be redirected to the 'index' page.
|
||||
* @param integer $id
|
||||
* @return mixed
|
||||
*/
|
||||
public function actionDelete($id)
|
||||
{
|
||||
$this->findModel($id)->delete();
|
||||
|
||||
return $this->redirect(['index']);
|
||||
}
|
||||
|
||||
/**
|
||||
* Finds the Discount model based on its primary key value.
|
||||
|
||||
Reference in New Issue
Block a user