Skip to content

Instantly share code, notes, and snippets.

@daddz
Created March 13, 2012 19:55
Show Gist options
  • Save daddz/2031163 to your computer and use it in GitHub Desktop.
Save daddz/2031163 to your computer and use it in GitHub Desktop.
#this does not work
Foo.controllers :bar do
get :auth, :map => '/auth/:provider/callback' do
#...
end
end
#this works
Foo.controllers do
get :auth, :map => '/auth/:provider/callback' do
#...
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment