Skip to content

Commit

Permalink
fix helper menu not loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
agungsugiarto committed May 11, 2020
1 parent 73f9f06 commit ede3756
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Controllers/Users/PermissionController.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@ class PermissionController extends ResourceController
{
protected $modelName = PermissionModel::class;
protected $format = 'json';

/**
* __construct
*
* @return void
*/
public function __construct()
{
helper('menu');
}

/**
* Return an array of resource objects, themselves in array format.
Expand Down

0 comments on commit ede3756

Please sign in to comment.