projects
/
catagits/Catalyst-Devel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
4a08176
)
Call config as a method rather than poking the hash directly. Less gross
Tomas Doran [Mon, 5 Oct 2009 22:59:03 +0000 (22:59 +0000)]
share/lib/MyApp/Controller/Root.pm.tt
patch
|
blob
|
blame
|
history
diff --git
a/share/lib/MyApp/Controller/Root.pm.tt
b/share/lib/MyApp/Controller/Root.pm.tt
index
f3cc272
..
bb717a3
100644
(file)
--- a/
share/lib/MyApp/Controller/Root.pm.tt
+++ b/
share/lib/MyApp/Controller/Root.pm.tt
@@
-8,7
+8,7
@@
BEGIN { extends 'Catalyst::Controller' }
# Sets the actions in this controller to be registered with no prefix
# so they function identically to actions created in MyApp.pm
#
-__PACKAGE__->config->{namespace} = '';
+__PACKAGE__->config(namespace => '');
=head1 NAME