Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
belenios
belenios
Commits
cc080069
Commit
cc080069
authored
Jul 21, 2014
by
Stephane Glondu
Browse files
Forget saved ballot on election home
parent
6bce9c8d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/web/web_election.ml
View file @
cc080069
...
...
@@ -358,6 +358,7 @@ module Make (D : ELECTION_DATA) (P : WEB_PARAMS) : REGISTRABLE = struct
let
()
=
Html5
.
register
~
service
:
W
.
S
.
home
(
if_eligible
can_read
(
fun
user
()
->
Eliom_reference
.
unset
ballot
>>
let
cont
()
()
=
Redirection
.
send
W
.
S
.
home
in
Eliom_reference
.
set
S
.
cont
cont
>>
match_lwt
Eliom_reference
.
get
cast_confirmed
with
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment