Kohana 3.3 Route - action not found redirected to default of the controller -
currently kohana 3.3 default route if have controller user , action login , call /user/login, fine, action called , executed.
but if change url /user/logins, system not find action named logins , return error "kohana_http_exception [ 404 ]: requested url user/logins not found on server."
my question if there way force redirect /user/index (default action) in case there called action not found in controller?
cheers!
you can override http_exception_404 class , make redirect there manually.
Comments
Post a Comment