Skip to content

Instantly share code, notes, and snippets.

@jrolfs
Created December 1, 2012 02:13
Show Gist options
  • Select an option

  • Save jrolfs/4180196 to your computer and use it in GitHub Desktop.

Select an option

Save jrolfs/4180196 to your computer and use it in GitHub Desktop.
has_active route
curl http://localdev.vid.io/v0/facebook/configurations/has_active\?session_id\=659ea28b5e75393f7a13addb5bcd0043\&page_id\=427939937270481
namespace :facebook do
match '/configurations/has_active' => 'configurations#has_active'
resources :configurations
match '/canvas' => 'canvas#index'
end
v0_facebook_configurations_has_active /v0/facebook/configurations/has_active(.:format) {:controller=>"v0/facebook/configurations", :action=>"has_active"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment