diff options
-rw-r--r-- | lib/zorglub/node.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/zorglub/node.rb b/lib/zorglub/node.rb index 23c4d79..2553dbd 100644 --- a/lib/zorglub/node.rb +++ b/lib/zorglub/node.rb @@ -154,7 +154,7 @@ module Zorglub status = options[:status] || 302 body = options[:body] || redirect_body(target) header = response.headers.merge('Location' => target.to_s) - throw :stop_realize, Rack::Response.new(body, status, header, &block) + throw :stop_realize, Rack::Response.new(body, status, header, &block).finish end def redirect_body(target) |