public function actionRemove($id)
    {
        $this->findModel($id)->delete();

        return $this->redirect(Url::to(['/shop/attribute']));
    }
public function actionRemove($id)
    {
        $this->findModel($id)->delete();

        return $this->redirect(Url::to(['/shop/attribute']));
    }
public function actionRemove ( $ id ) { $ this -> findModel ( $ id ) -> delete ( ) ; return $ this -> redirect ( Url :: to ( [ '/shop/attribute' ] ) ) ; }
Deletes an existing ShopAttribute model.
If deletion is successful, the browser will be redirected to the 'index' page.
@param integer $id
@return mixed
Deletes an existing ShopAttribute model . If deletion is successful the browser will be redirected to the index page .