liquid_feedback_frontend

view app/main/api/embed_initiative.lua @ 1670:fa82e72afdfe

Provide base url without trailing slash
author bsw
date Fri Apr 23 13:55:17 2021 +0200 (2021-04-23)
parents 50f5b8a97f91
children
line source
1 if app.scopes.identification then
2 app.session.member_id = app.access_token.member_id
3 app.session:save()
4 request.redirect{ external = request.get_absolute_baseurl() .. "initiative/show/" .. param.get("id") .. ".html" }
5 else
6 slot.put("missing access token or scope")
7 end

Impressum / About Us