Skip to content

Instantly share code, notes, and snippets.

@senny
Created March 26, 2013 11:09
Show Gist options
  • Save senny/5244629 to your computer and use it in GitHub Desktop.
Save senny/5244629 to your computer and use it in GitHub Desktop.
draw do
get 'get/first', 'get/second', 'get/third', :to => 'get#show'
end
get '/get/first'
assert_equal 'get#show', @response.body
get '/get/second'
assert_equal 'get#show', @response.body
get '/get/third'
assert_equal 'get#show', @response.body
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment