component_role -> controller_role
[catagits/CatalystX-Declare.git] / examples / MyApp-Web / lib / MyApp / Web / ControllerRole / RenderView.pm
index 71f5f86..be42a91 100644 (file)
@@ -1,7 +1,7 @@
 use CatalystX::Declare;
 
 # almost like a normal Moose role
-component_role MyApp::Web::ControllerRole::RenderView {
+controller_role MyApp::Web::ControllerRole::RenderView {
 
     # we can use the whole Moose infrastructure
     use MooseX::Types::Moose qw( Str );