Permalink
Browse files

the dispatcher should have a default value

  • Loading branch information...
1 parent 037fd78 commit cc0b12e6170e150ae64d147931e6b46ff59da666 @ruoso committed May 5, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Faz/Application.pm
View
@@ -1,7 +1,7 @@
use Faz::Dispatcher;
role Faz::Application {
has %.components is rw;
- has Faz::Dispatcher $.dispatcher is rw handles <register-action dispatch>;
+ has Faz::Dispatcher $.dispatcher is rw = Faz::Dispatcher.new(); handles <register-action dispatch>;
# this is where the several steps performed by catalyst should
# reside, so application-wide plugins can modify

0 comments on commit cc0b12e

Please sign in to comment.