Skip to content

Commit

Permalink
Closes lift#1137 Expose RenderVersion as read-only property S.renderV…
Browse files Browse the repository at this point in the history
…ersion
  • Loading branch information
andreak committed Nov 2, 2011
1 parent a8ec5d8 commit 32fc95b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions web/webkit/src/main/scala/net/liftweb/http/S.scala
Expand Up @@ -995,6 +995,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",
Expand Down

0 comments on commit 32fc95b

Please sign in to comment.