Ignore:
Timestamp:
10/06/10 14:25:41 (14 years ago)
Author:
misc
Message:
  • show a error message when the mail server is down
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Epoll/Controller/Newpoll.pm

    r366 r377  
    6666                } ] 
    6767            ); 
    68             $c->stash->{template} = 'newpoll/request.tt'; 
     68            if ($c->stash->{mail_error}) {  
     69                $c->stash->{template} = 'errors/mail.tt'; 
     70            } else {  
     71                $c->stash->{template} = 'newpoll/request.tt'; 
     72            } 
    6973        } 
    7074    } 
Note: See TracChangeset for help on using the changeset viewer.