lib/clearance/authorization.rb in clearance-1.2.0 vs lib/clearance/authorization.rb in clearance-1.2.1

- old
+ new

@@ -50,10 +50,11 @@ clear_return_to end def return_to if return_to_url - URI.parse(return_to_url).path + uri = URI.parse(return_to_url) + "#{uri.path}?#{uri.query}".chomp('?') end end def return_to_url session[:return_to]