diff -r 61669abf277f -r e8eecee6aadf src/main/kotlin/de/uapcore/lightpit/Constants.kt --- a/src/main/kotlin/de/uapcore/lightpit/Constants.kt Sat Jan 23 14:47:59 2021 +0100 +++ b/src/main/kotlin/de/uapcore/lightpit/Constants.kt Fri Apr 02 11:59:14 2021 +0200 @@ -52,7 +52,7 @@ const val CTX_ATTR_DB_DIALECT = "db-dialect" /** - * Key for the request attribute containing the optional navigation menu jsp. + * Key for the request attribute containing the optional navigation menu. */ const val REQ_ATTR_NAVIGATION = "navMenu" @@ -88,6 +88,11 @@ const val REQ_ATTR_REDIRECT_LOCATION = "redirectLocation" /** + * Key for the optional return link based on the referer header. + */ + const val REQ_ATTR_REFERER = "returnLink" + + /** * Key for the current language selection within the session. */ const val SESSION_ATTR_LANGUAGE = "language"