Fixed: RS example code was broken
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / ResultSet.pm
index 77ff966..8f894a0 100644 (file)
@@ -94,7 +94,7 @@ another.
       year => $request->param('year'),
     });
 
-    $self->apply_security_policy( $cd_rs );
+    $cd_rs = $self->apply_security_policy( $cd_rs );
 
     return $cd_rs->all();
   }