Changeset 226 for trunk/lib/Vote/Controller/Admin.pm
- Timestamp:
- 04/21/09 00:15:30 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Vote/Controller/Admin.pm
r224 r226 187 187 } 188 188 189 sub voting: LocalRegex('^(\ d+)/voting$') {189 sub voting: LocalRegex('^(\w+)/voting$') { 190 190 my ($self, $c) = @_; 191 191 ($c->stash->{voteid}) = @{ $c->req->snippets || [] }; … … 202 202 } 203 203 204 sub ballot: LocalRegex('^(\ d+)/ballot$') {204 sub ballot: LocalRegex('^(\w+)/ballot$') { 205 205 my ($self, $c) = @_; 206 206 ($c->stash->{voteid}) = @{ $c->req->snippets || [] }; … … 217 217 } 218 218 219 sub privatekey : LocalRegex('^(\ d+)/privatekey$') {219 sub privatekey : LocalRegex('^(\w+)/privatekey$') { 220 220 my ($self, $c) = @_; 221 221 ($c->stash->{voteid}) = @{ $c->req->snippets || [] };
Note: See TracChangeset
for help on using the changeset viewer.