Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
def gon
if wrong_gon_request?
gon_request = Request.new(env)
gon_request.id = request.uuid
Thread.current['gon'] = gon_request
end
Gon
end
@hoshinaoshi

This comment has been minimized.

Copy link
Owner Author

hoshinaoshi commented Mar 4, 2014

gon / lib / gon / helpers.rb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.