Permalink
Browse files

Changed Path to PartPart on Pastes.pm - Path is from root and can't b…

…e chained. Next: get the Root.pm json provider providing!
  • Loading branch information...
1 parent 5a2b0da commit 7ff1d1a69978f36e21fcbd5bb92447ec9ccea3dd @EdwardIII committed Sep 22, 2010
Binary file not shown.
Binary file not shown.
@@ -29,7 +29,7 @@ sub base : Chained('/'): PathPart('pastes'): CaptureArgs(0)
$c->stash(pastes_rs => $c->model('PasteDB::Paste'));
}
-sub index :Chained('base') :Path :Args(0)
+sub index :Chained('base') :PathPart('') :Args(0)
{
my ($self, $c) = @_;
my $pastes_rs = $c->stash->{pastes_rs};
View
@@ -1,3 +1,4 @@
# rename this file to pastebin.yml and put a ':' after 'name' if
# you want to use YAML like in old versions of Catalyst
name PasteBin
+

0 comments on commit 7ff1d1a

Please sign in to comment.