]> ruin.nu Git - ndwebbie.git/blobdiff - lib/NDWeb/Controller/Raids.pm
Use filter instead of having to stash the function everywhere
[ndwebbie.git] / lib / NDWeb / Controller / Raids.pm
index ab1adb5e26737f1581c65212a22cdac255b08aaa..6b4f16c3081a96527a4c89284af2035ed2ea5f16 100644 (file)
@@ -107,8 +107,6 @@ sub view : Local {
        $c->forward('findRaid');
        $raid = $c->stash->{raid};
 
-       $c->stash(comma => \&comma_value);
-
        $c->stash(raid => $raid->{id});
        my $planet;
        if ($c->user->planet){
@@ -548,7 +546,6 @@ sub targetlist : Local {
        my ($self, $c, $alliances, $order) = @_;
        my $dbh = $c->model;
 
-       $c->stash(comma => \&comma_value);
        $c->stash(allies => $alliances);
        $alliances ||= '';
        my @alliances = split /,/, $alliances;