This commit is contained in:
parent
9a860c2ad1
commit
dc1d964102
|
@ -355,7 +355,6 @@ func NewChiRouter() {
|
||||||
r.Route("/poll", func(r chi.Router) {
|
r.Route("/poll", func(r chi.Router) {
|
||||||
r.Use(MemberOnlyMiddleware)
|
r.Use(MemberOnlyMiddleware)
|
||||||
r.Use(NoSessionMismatchMiddleware)
|
r.Use(NoSessionMismatchMiddleware)
|
||||||
|
|
||||||
r.Get("/poll/vote", ConvertExtraRoute(routes.PollVote))
|
r.Get("/poll/vote", ConvertExtraRoute(routes.PollVote))
|
||||||
r.Get("/poll/results", ConvertExtraRoute(routes.PollResults))
|
r.Get("/poll/results", ConvertExtraRoute(routes.PollResults))
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue