forked from uperl/Mojolicious-Plugin-TtRenderer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change to use relative paths, add exception template for tests
- Loading branch information
1 parent
fc453fe
commit 323d5a9
Showing
4 changed files
with
18 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
Revision history for MojoX-Renderer-TT | ||
|
||
- Change to use relative paths. | ||
|
||
{{$NEXT}} | ||
|
||
1.0 January 22, 2011 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
% my $s = $self->stash; | ||
% my $e = $self->stash('exception'); | ||
% delete $s->{inner_template}; | ||
% delete $s->{exception}; | ||
% my $dump = dumper $s; | ||
% $s->{exception} = $e; | ||
An Exception has occured: <%= $e->message %> | ||
at <%= $e->line->[0] %> in <%= $e->line->[1] %> |