cleanups and tests
[catagits/CatalystX-Declare.git] / lib / CatalystX / Declarative.pm
index cd07514..855109f 100644 (file)
@@ -2,14 +2,11 @@ use MooseX::Declare;
 
 class CatalystX::Declarative extends MooseX::Declare {
 
-    use aliased 'CatalystX::Declarative::Keyword::Controller',  'ControllerKeyword';
+    use aliased 'CatalystX::Declarative::Keyword::Controller', 'ControllerKeyword';
 
     around keywords {
-
-        return(
-            $self->$orig(),
-            ControllerKeyword->new(identifier => 'controller'),
-        );
+        $self->$orig,
+        ControllerKeyword->new(identifier => 'controller'),
     }
 }