]> ruin.nu Git - ndwebbie.git/blobdiff - lib/NDWeb/Controller/Alliances.pm
Use filter instead of having to stash the function everywhere
[ndwebbie.git] / lib / NDWeb / Controller / Alliances.pm
index 833143aaab2364738f79fc9564d47e0339cbc930..c2d40fffb4f81518fde43e6c01c236c826d66fe3 100644 (file)
@@ -62,7 +62,6 @@ sub list : Local {
                } . $order);
        $query->execute;
        $c->stash(alliances => $query->fetchall_arrayref({}) );
-       $c->stash(comma => \&comma_value);
 }
 
 sub edit : Local {
@@ -253,7 +252,6 @@ LIMIT 60) a
                push @alliances,$alliance;
        }
        $c->stash(alliances => \@alliances);
-       $c->stash( comma => \&comma_value)
 }