zendframework / zend-router

Standalone routing implementation for HTTP and console requests
BSD 3-Clause "New" or "Revised" License
32 stars 20 forks source link

Slim 2 redirect is not working #30

Closed kiranupadhyak closed 7 years ago

kiranupadhyak commented 7 years ago

Redirect is not working in slim 2 & it returns below error for this line $application->redirect($application->urlFor('details', array( 'slug' => $slug, )));

Error

Slim_Exception_Stop Object

( [message:protected] => [string:Exception:private] => [code:protected] => 0 [file:protected] => /usr/local/test/enduser/vendors/Slim/Slim.php [line:protected] => 810 [trace:Exception:private] => Array )

Xerkus commented 7 years ago

Slim does not use zend-router.