Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Route method not being created #1

Closed
kv109 opened this issue Feb 5, 2015 · 0 comments
Closed

Route method not being created #1

kv109 opened this issue Feb 5, 2015 · 0 comments
Assignees
Labels

Comments

@kv109
Copy link
Owner

kv109 commented Feb 5, 2015

Callapi::Routes.draw do
  get 'users/:id'
  get 'users'
end

get_users_call.response #=> undefined local variable or method `get_users_call' for main:Object (NameError)
Callapi::Routes.draw do
  get 'users'
  get 'users/:id'
end

get_users_call.response # Everything OK
@kv109 kv109 added the bug label Feb 5, 2015
@kv109 kv109 self-assigned this Feb 5, 2015
@kv109 kv109 closed this as completed Feb 18, 2015
kv109 pushed a commit that referenced this issue Feb 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant