[Bps-public-commit] Prophet branch, master, updated. 77f62584d97ccf11bdc1d5b884bb08dee570cfd9

sartak at bestpractical.com sartak at bestpractical.com
Fri Mar 6 23:39:58 EST 2009


The branch, master has been updated
       via  77f62584d97ccf11bdc1d5b884bb08dee570cfd9 (commit)
      from  1507791d5f7721a11a8b05118a32895f4fe0e599 (commit)

Summary of changes:
 lib/Prophet/Server/Dispatcher.pm |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

- Log -----------------------------------------------------------------
commit 77f62584d97ccf11bdc1d5b884bb08dee570cfd9
Author: Shawn M Moore <sartak at gmail.com>
Date:   Fri Mar 6 23:39:51 2009 -0500

    Use the new way of specifying defaults

diff --git a/lib/Prophet/Server/Dispatcher.pm b/lib/Prophet/Server/Dispatcher.pm
index ee87a1d..8200fb0 100644
--- a/lib/Prophet/Server/Dispatcher.pm
+++ b/lib/Prophet/Server/Dispatcher.pm
@@ -1,12 +1,11 @@
 package Prophet::Server::Dispatcher;
 use Any::Moose;
-use Path::Dispatcher::Declarative -base;
+use Path::Dispatcher::Declarative -base, -default => {
+    token_delimiter => '/',
+};
 
 has server => ( isa => 'Prophet::Server', is => 'rw', weak_ref => 1 );
 
-sub token_delimiter       {'/'}
-sub case_sensitive_tokens {0}
-
 under { method => 'POST' } => sub {
     on qr'.*' => sub {
         my $self = shift;

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list