- Timestamp:
- 03/15/09 19:02:05 (15 years ago)
- Location:
- trunk/lib/Vote
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Vote/Controller/Ballot.pm
r34 r36 50 50 # login succeed, but those this user has already voted 51 51 if (my $date = $c->model('Vote')->voting_has_sign($id, $mail)) { 52 $c->stash->{ uid} = $c->session->{uid};52 $c->stash->{mail} = $c->session->{mail}; 53 53 $c->stash->{template} = 'ballot/signed.tt'; 54 54 $c->stash->{signed_date} = $date; 55 $c->delete_session(' invalid user/pass');55 $c->delete_session('already signed'); 56 56 return; 57 57 } -
trunk/lib/Vote/View/TT.pm
r3 r36 19 19 TT View for Vote. 20 20 21 =cut 22 23 sub process { 24 my ($self, $c) = @_; 25 26 $c->stash->{Vote}{VERSION} = $Vote::VERSION; 27 Catalyst::View::TT::process($self, $c); 28 } 29 21 30 =head1 SEE ALSO 22 31
Note: See TracChangeset
for help on using the changeset viewer.