Add BackendController/AccesControl
Add the BackendController for all the backend controllers. Add AccesControl
This commit is contained in:
@@ -12,19 +12,8 @@ use yii\filters\VerbFilter;
|
||||
/**
|
||||
* CurrencyController implements the CRUD actions for Currency model.
|
||||
*/
|
||||
class CurrencyController extends Controller
|
||||
class CurrencyController extends \backend\controllers\BackendController
|
||||
{
|
||||
public function behaviors()
|
||||
{
|
||||
return [
|
||||
'verbs' => [
|
||||
'class' => VerbFilter::className(),
|
||||
'actions' => [
|
||||
'delete' => ['post'],
|
||||
],
|
||||
],
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* Lists all Currency models.
|
||||
|
||||
Reference in New Issue
Block a user