Feature Request #1556
Missing controller firstly route to $routes['_default']
|Assignee:||Jeremy Bush||% Done:|
Missing controller firstly route to $routes['_default'], then execute show_404 method. If the show_404 doesn't exist, Controller.__call() will execute.
Event::run('system.404') is the last when there's exactly not any controller to run.
#2 Updated by Chris Bandy over 4 years ago
This appears to be a feature request from the forums1 for a convention to handle missing routes/methods without hooks. The suggested implementation calls the
show_404 method of the controller in the default route.
The gist of original discussion revolved around the perceived complexity of enabling a 404 hook versus the perceived simplicity of an optionally configured '_404' route.
Concerns regarding hook performance were also raised.
#5 Updated by Ben Rogers over 4 years ago
i dont see the point in this, everything can easily be accomplished by using that event hook. Kohana is meant to be an Event driven framework, and using a hook and attaching to an event is perfectly acceptable and recommended behavior.
I recommend we wontfix this ticket.