nie moge wywowalac adresu "http://localhost/products/edit"
otrzymuje blad "A 404 error occurred Page not found.The requested URL could not be matched by routing.No Exception available"
Oczywiscie mam metody edit w klasie kontrolera Products oraz widok html
'type' => 'Zend\Mvc\Router\Http\Literal', 'route' => '/', 'controller' => 'Application\Controller\Index', 'action' => 'index', ), ), ), 'type' => 'Literal', 'route' => '/application', '__NAMESPACE__' => 'Application\Controller', 'controller' => 'Index', 'action' => 'index', ), ), 'may_terminate' => true, 'type' => 'Segment', 'route' => '/application[/:action]', 'controller' => '[a-zA-Z][a-zA-Z0-9_-]*', 'action' => '[a-zA-Z][a-zA-Z0-9_-]*', ), ), ), ), ), ), 'type' => 'Literal', 'route' => '/products', '__NAMESPACE__' => 'Application\Controller', 'controller' => 'Products', 'action' => 'index', ), ), 'may_terminate' => true, 'type' => 'Segment', 'route' => '/products[/:action]', 'controller' => '[a-zA-Z][a-zA-Z0-9_-]*', 'action' => '[a-zA-Z][a-zA-Z0-9_-]*', ), ), ), ), ), ), ), ), 'Zend\Cache\Service\StorageCacheAbstractServiceFactory', 'Zend\Log\LoggerAbstractServiceFactory', ), 'translator' => 'MvcTranslator', ), ), 'locale' => 'en_EN', 'type' => 'gettext', 'base_dir' => __DIR__ . '/../language', 'pattern' => '%s.mo', ), ), ), 'Application\Controller\Index' => 'Application\Controller\IndexController', 'Application\Controller\Products' => 'Application\Controller\ProductsController' ) ), 'display_not_found_reason' => true, 'display_exceptions' => true, 'doctype' => 'HTML5', 'not_found_template' => 'error/404', 'exception_template' => 'error/index', 'layout/layout' => __DIR__ . '/../view/layout/layout.phtml', 'application/index/index' => __DIR__ . '/../view/application/index/index.phtml', 'error/404' => __DIR__ . '/../view/error/404.phtml', 'error/index' => __DIR__ . '/../view/error/index.phtml', ), __DIR__ . '/../view', ), ), // Placeholder for console routes ), ), ), );