without a language in the url:
by defining explicit routes ...
routes.test.route = "test/"
routes.test.defaults.module = test
routes.test.defaults.controller = index
routes.test.defaults.action = index
which is also reachable by
routes.lang_default.route = ":language/:module/:controller/:action/"
routes.lang_default.defaults.module = "new Zend_Locale()"
routes.lang_default.defaults.module = default
routes.lang_default.defaults.controller = index
routes.lang_default.defaults.action = index
If someone has a better solution ...
--
View this message in context: http://www.nabble.com/Language-%2B-Default-route-tp21561520p21663913.html
Sent from the Zend MVC mailing list archive at Nabble.com.
没有评论:
发表评论