Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

not found in the dependency injection container

at this album-o-rama sample mvc application has one error to load controller and action after add / at the end of the url for EX:

at the above url have a error: Service 'view' was not found in the dependency injection container

but this url is ok and loaded :

what the reason of the error and how to handel this problem with out redirect?

also at this forum : Page not found: /discussion/2666/not-found-in-the-dependency-injection-container/ ---> have error and redirect to index controller /discussion/2666/not-found-in-the-dependency-injection-container ---> its ok


The extra slash produces a not found action which is not currently handled by that example.

yes , but how to load last action with extra slash ?

Even this too doesn't work in case of album-o-rama :(