Skip to content

Instantly share code, notes, and snippets.

@rknLA
Created February 27, 2012 08:19
Show Gist options
  • Save rknLA/1922528 to your computer and use it in GitHub Desktop.
Save rknLA/1922528 to your computer and use it in GitHub Desktop.
options?
match '/' => 'api/application#index', :constraints => {:method => 'GET'}
match '/' => 'api/application#options', :constraints => {:method => 'OPTIONS'}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment