public function actionDelete($id)
    {
        if (!\Yii::$app->user->can('delete'))
            throw new ForbiddenHttpException(\Module::t('metaTag', 'Access denied.'));
        parent::actionDelete($id);
    }
public function actionDelete($id)
    {
        if (!\Yii::$app->user->can('delete'))
            throw new ForbiddenHttpException(\Module::t('metaTag', 'Access denied.'));
        parent::actionDelete($id);
    }
public function actionDelete ( $ id ) { if ( ! \ Yii :: $ app -> user -> can ( 'delete' ) ) throw new ForbiddenHttpException ( \ Module :: t ( 'metaTag' , 'Access denied.' ) ) ; parent :: actionDelete ( $ id ) ; }
Deletes an existing MetaTag model.
If deletion is successful, the browser will be redirected to the 'index' page.
@param integer $id
@return mixed
Deletes an existing MetaTag model . If deletion is successful the browser will be redirected to the index page .