src/main/kotlin/de/uapcore/lightpit/RequestMapping.kt

changeset 260
fb2ae2d63a56
parent 254
55ca6cafc3dd
child 284
671c1c8fbf1c
equal deleted inserted replaced
259:30ec2cf1e495 260:fb2ae2d63a56
191 location?.let { redirectLocation = it } 191 location?.let { redirectLocation = it }
192 contentPage = Constants.JSP_COMMIT_SUCCESSFUL 192 contentPage = Constants.JSP_COMMIT_SUCCESSFUL
193 render() 193 render()
194 } 194 }
195 195
196 fun i18n(key: String) = ResourceBundle.getBundle("localization/strings", response.locale).getString(key) 196 fun i18n(key: String): String = ResourceBundle.getBundle("localization/strings", response.locale).getString(key)
197 } 197 }
198 198
199 /** 199 /**
200 * A path pattern optionally containing placeholders. 200 * A path pattern optionally containing placeholders.
201 * 201 *

mercurial