canged prereq for D:D to ensure fix of method call issue
[catagits/CatalystX-Declare.git] / examples / MyApp-Web / lib / MyApp / Web / Controller / Root.pm
index 309905b..3f2e3d6 100644 (file)
@@ -6,7 +6,7 @@ controller MyApp::Web::Controller::Root
       with MyApp::Web::ControllerRole::RenderView {
 
     # $CLASS is provided by CLASS.pm
-    $CLASS->config->{namespace} = '';
+    $CLASS->config(namespace => '');
 
 
     # this is the common root action for all other actions