Skip to content

Instantly share code, notes, and snippets.

@jweinstein
Created January 31, 2012 16:52
Show Gist options
  • Select an option

  • Save jweinstein/1711549 to your computer and use it in GitHub Desktop.

Select an option

Save jweinstein/1711549 to your computer and use it in GitHub Desktop.
redirect to foursquare
redirect_to "http://foursquare.com/oauth2/authenticate?client_id=#{Rails.application.config.FOURSQUARE_CLIENT_ID}&response_type=code&redirect_uri=#{redirect_uri}/"
def redirect_uri()
Rails.application.config.CALLBACK_PATH
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment