Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Closes #1137 Expose RenderVersion as read-only property S.renderVersion

  • Loading branch information...
commit 32fc95b8f73a20a403fbc4ac404b52bbcf414d81 1 parent a8ec5d8
@andreak andreak authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 web/webkit/src/main/scala/net/liftweb/http/S.scala
View
5 web/webkit/src/main/scala/net/liftweb/http/S.scala
@@ -996,6 +996,11 @@ trait S extends HasParams with Loggable {
def get_? = request.map(_.get_?).openOr(false)
/**
+ * Returns the logical page_id of the current request. All RequestVars for a current page share this id.
+ */
+ def renderVersion = RenderVersion.get
+
+ /**
* The URI of the current request (not re-written). The URI is the portion of the request
* URL after the context path. For example, with a context path of "myApp",
* Lift would return the following URIs for the given requests:
Please sign in to comment.
Something went wrong with that request. Please try again.