Skip to content

Commit

Permalink
Scaladoc that redirect now halts the action.
Browse files Browse the repository at this point in the history
  • Loading branch information
rossabaker committed Sep 21, 2011
1 parent 31156b7 commit c3d2058
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/scala/org/scalatra/CoreDsl.scala
Expand Up @@ -57,7 +57,7 @@ trait CoreDsl {
def status(code: Int) = response.setStatus(code)

/**
* Sends a redirect response.
* Sends a redirect response and immediately halts the current action.
*/
def redirect(uri: String) = {
response.sendRedirect(uri)
Expand Down

0 comments on commit c3d2058

Please sign in to comment.