Skip to content

Commit

Permalink
Once a user has voted, delete poll-specific state from their session.
Browse files Browse the repository at this point in the history
  • Loading branch information
dag-erling committed Apr 16, 2014
1 parent 355632a commit 61d3013
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/FBP/Controller/Poll.pm
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ sub done :Chained('poll') :Path :Args(0) {

my $poll = $c->stash->{poll};
my $pid = $poll->id;
#delete($c->session->{$pid});
delete($c->session->{$pid});
}

=head2 default
Expand Down

0 comments on commit 61d3013

Please sign in to comment.