projects
/
catagits/Catalyst-Devel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Call config as a method rather than poking the hash directly. Less gross
[catagits/Catalyst-Devel.git]
/
share
/
lib
/
MyApp
/
Controller
/
Root.pm.tt
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