Skip to content

Commit

Permalink
Fix menu titles
Browse files Browse the repository at this point in the history
  • Loading branch information
butschster committed May 21, 2016
1 parent 9da3d6b commit dbce339
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,9 @@ public function template()
*/
public function addMenuPage($class = null, $priority = 100)
{
return app('sleeping_owl.navigation')->addPage($class)->setPriority($priority);
return app('sleeping_owl.navigation')
->addPage(new Page($class))
->setPriority($priority);
}

/**
Expand Down

0 comments on commit dbce339

Please sign in to comment.