Change parseMenu to parseACL (oops copy / paste)
This commit is contained in:
parent
b25345a46d
commit
12d2876825
1 changed files with 2 additions and 2 deletions
|
|
@ -44,7 +44,7 @@ class Generator
|
|||
$resources[] = new FileResource($path);
|
||||
|
||||
// process acl config file
|
||||
$data = $this->parseMenu($path, $key);
|
||||
$data = $this->parseACL($path, $key);
|
||||
}
|
||||
catch (\InvalidArgumentException $e)
|
||||
{
|
||||
|
|
@ -65,7 +65,7 @@ class Generator
|
|||
return $data;
|
||||
}
|
||||
|
||||
protected function parseMenu($path, $key)
|
||||
protected function parseACL($path, $key)
|
||||
{
|
||||
$parser = new YamlParser();
|
||||
$config = $parser->parse(file_get_contents($path));
|
||||
|
|
|
|||
Loading…
Reference in a new issue