reformat back helper method
Signed-off-by: Konstantin Haase <konstantin.mailinglists@googlemail.com>
This commit is contained in:
parent
e8d0a13682
commit
03b6a8bcd0
|
@ -378,8 +378,9 @@ module Sinatra
|
|||
end
|
||||
|
||||
## Sugar for redirect (example: redirect back)
|
||||
def back ; request.referer ; end
|
||||
|
||||
def back
|
||||
request.referer
|
||||
end
|
||||
end
|
||||
|
||||
# Template rendering methods. Each method takes the name of a template
|
||||
|
|
Loading…
Reference in New Issue