X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=examples%2FMyApp-Web%2Flib%2FMyApp%2FWeb%2FController%2FRoot.pm;h=3f2e3d655c21852a8b6f62f681b524b178029af3;hb=5a494dae2ff929a559318936d3eebdb5cbfdb17c;hp=309905bfeff2a2570717850ae1887bfe3aa41be0;hpb=4bfe92835963ea855174152f36fc0abd595848e0;p=catagits%2FCatalystX-Declare.git diff --git a/examples/MyApp-Web/lib/MyApp/Web/Controller/Root.pm b/examples/MyApp-Web/lib/MyApp/Web/Controller/Root.pm index 309905b..3f2e3d6 100644 --- a/examples/MyApp-Web/lib/MyApp/Web/Controller/Root.pm +++ b/examples/MyApp-Web/lib/MyApp/Web/Controller/Root.pm @@ -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