Skip to content

Instantly share code, notes, and snippets.

@brycesch
Created July 1, 2014 14:50
Show Gist options
  • Save brycesch/6665be41ad28a8ede1bd to your computer and use it in GitHub Desktop.
Save brycesch/6665be41ad28a8ede1bd to your computer and use it in GitHub Desktop.
def redirect_to(options = {}, response_status = {})
::Rails.logger.error("Redirected by #{caller(1).first rescue "unknown"}")
super(options, response_status)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment