Skip to content

documentation on how to implement? #9

Closed
istan opened this Issue Jun 5, 2012 · 3 comments

4 participants

@istan
istan commented Jun 5, 2012

hi - i want to use this in a rails 3 application. I've installed the gem but am uncertain where within my application to put the config block ( use Rack::Cors do ... end)? Documentation on this would be very helpful. Thank you!

@mbixby
mbixby commented Jun 14, 2012

Have a look at Rack Middleware section of the Rails Guides. If you're using Devise, be sure to put Cors before Warden.

@mattreduce

The README seems to describe this clearly now, perhaps this issue can be closed.

@cyu cyu closed this May 6, 2014
@cyu
Owner
cyu commented May 6, 2014

Admittedly, the README isn't great, but I think it does cover this topic now. Please open a new issue if there are still gaps (with details).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.