Skip to content
This repository has been archived by the owner on Sep 19, 2022. It is now read-only.

problem with addControllerRoute #31

Open
pioter opened this issue Sep 3, 2014 · 0 comments
Open

problem with addControllerRoute #31

pioter opened this issue Sep 3, 2014 · 0 comments

Comments

@pioter
Copy link

pioter commented Sep 3, 2014

I add new controller by:

addControllerRoute('hello', 'Index:index')->via('GET')->name('name'); and i have problem with

Invalid argument supplied for foreach()
Location:lib/vendor/slim/slim/Slim/Router.php in handleError , line 147

exactly is:

protected function processGroups()
    {
        $pattern = "";
        $middleware = array();
        foreach ($this->routeGroups => NULL

what i'm doing wrong?

@pioter pioter changed the title problem with addControllerRoute($route['route'], $route['controller'] . ':' . $route['action'])->via($route['via'])->name($route['alias']); problem with addControllerRoute Sep 3, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant