Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
improved not found page to show the exact path used for route matching
  • Loading branch information
kraih committed Feb 10, 2014
1 parent 43da906 commit 2aea4bf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
9 changes: 5 additions & 4 deletions Changes
@@ -1,5 +1,6 @@

4.79 2014-02-10
- Improved not found page to show the exact path used for route matching.

4.78 2014-02-08
- Deprecated Mojo::Util::get_line.
Expand Down Expand Up @@ -1549,7 +1550,7 @@
- Fixed typo in exception template.

2.44 2012-01-18
- Added new not_found page for development mode.
- Added new not found page for development mode.
- Added EXPERIMENTAL url_with helper to
Mojolicious::Plugin::DefaultHelpers. (diegok, marcus, judofyr, sri)
- Added EXPERIMENTAL support for removing query parameters while merging to
Expand Down Expand Up @@ -2457,7 +2458,7 @@
- Added EXPERIMENTAL support for route shortcuts.
- Added EXPERIMENTAL support for NO_PROXY. (l0b0)
- Added EXPERIMENTAL user_agent attribute to Mojo::Client.
- Added EXPERIMENTAL support for mode specific not_found and exception
- Added EXPERIMENTAL support for mode specific not found and exception
templates.
- Added EXPERIMENTAL support for route caching.
- Added EXPERIMENTAL support for CSS3 selectors to the get command.
Expand Down Expand Up @@ -2521,7 +2522,7 @@
- Code name "Snowflake", this is a major release.
- Deprecated session method in Mojolicious.
- Deprecated handler and helper attributes in Mojolicious::Renderer.
- Added new exception and not_found templates.
- Added new exception and not found templates.
- Added documentation browser to Mojolicious::Plugin::PodRenderer.
- Added EXPERIMENTAL content_for helper.
- Disabled debug log messages for static files.
Expand All @@ -2539,7 +2540,7 @@

0.999950 2010-11-30
- Added EXPERIMENTAL Hypnotoad web server.
- Added EXPERIMENTAL built-in exception and not_found templates.
- Added EXPERIMENTAL built-in exception and not found templates.
- Added put and del functions to Mojolicious::Lite.
- Added on_idle and on_tick event handlers to Mojo::IOLoop.
- Added "*" query support to the Mojo::IOLoop resolver.
Expand Down
4 changes: 2 additions & 2 deletions lib/Mojolicious/templates/not_found.development.html.ep
Expand Up @@ -76,8 +76,8 @@
<p>
None of these routes could generate a response for your
<code><%= $self->req->method %></code> request for
<code><%= $self->req->url->path %></code>, maybe you need to add a
new one?
<code><%= $self->req->url->path->to_route %></code>, maybe you need
to add a new one?
</p>
% my $walk = begin
% my ($walk, $route, $depth) = @_;
Expand Down

0 comments on commit 2aea4bf

Please sign in to comment.