Less madness with the environment. Not tested
[catagits/Gitalist.git] / lib / Gitalist / URIStructure / Repository.pm
index 976917e..2e142bd 100644 (file)
@@ -18,6 +18,7 @@ sub find : Chained('base') PathPart('') CaptureArgs(1) {
         $c->stash(
             Repository => $repos,
             HEAD => $repos->head_hash,
+            data => $repos,
         );
     }
     catch {
@@ -42,10 +43,10 @@ sub object : Chained('find') PathPart('') Args(1) {
 
 }
 
-sub summary : Chained('find') PathPart('') Args(0) {}
+sub summary : Chained('find') PathPart('') Args() {}
 
-sub heads : Chained('find') Args(0) {}
+sub heads : Chained('find') Args() {}
 
-sub tags : Chained('find') Args(0) {}
+sub tags : Chained('find') Args() {}
 
 1;