Please sign in to comment.
Make current_url? work with a HEAD method
ActionDispatch::Head was removed in favor of Rack::Head. But Rack::Head does not convert GET requests to HEAD requests so we need to do checking for HEAD requests ourselves.
- Loading branch information...
Showing with 7 additions and 1 deletion.