Fixed test bug and make the plain diffs plainer.
[catagits/Gitalist.git] / lib / Gitalist / URIStructure / Ref.pm
index 659ccc0..9516b7d 100644 (file)
@@ -33,7 +33,10 @@ sub diff_fancy : Chained('diff') PathPart('') Args() {
       if @rest;
 }
 
-sub diff_plain : Chained('diff') PathPart('plain') Args(0) {}
+sub diff_plain : Chained('diff') PathPart('plain') Args(0) {
+    my($self, $c) = @_;
+    $c->stash->{no_wrapper} = 1;
+}
 
 sub commit : Chained('find') PathPart('commit') Args(0) {}