X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst.pm;h=551f5dd1b7f4fd37b2f8a9bb55ab4274dfa55abc;hb=e3dc9d7865fc12ef65fa82611c0e00c9e2038990;hp=e5eb853d0bd02921809b7dc226535b75996540c0;hpb=5a8ed4fea844a2945eb98ae9ba76ba44b5d8ffdc;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index e5eb853..551f5dd 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -42,7 +42,7 @@ Catalyst - The Elegant MVC Web Application Framework sub default : Private { $_[1]->res->output('Hello') } ); - sub index : Absolute('index.html') { + sub index : Path('/index.html') { my ( $self, $c ) = @_; $c->res->output('Hello'); $c->forward('_foo');