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

Router namespaces #71

Closed
vladfaust opened this issue Feb 23, 2019 · 0 comments
Closed

Router namespaces #71

vladfaust opened this issue Feb 23, 2019 · 0 comments
Milestone

Comments

@vladfaust
Copy link
Member

vladfaust commented Feb 23, 2019

router.on "/users" do
  get "/:id", Endpoint::User::Get
  post "/", Endpoint::User::Create
end

router.draw do
  on "/users" do
    get "/:id", Endpoint::User::Get
    post "/", Endpoint::User::Create
  end
end
@vladfaust vladfaust transferred this issue from vladfaust/onyx-http-deprecated Mar 10, 2019
@vladfaust vladfaust added this to the next patch milestone Apr 2, 2019
@vladfaust vladfaust modified the milestones: next patch, next minor Apr 16, 2019
vladfaust added a commit that referenced this issue Apr 20, 2019
BREAKING CHANGE: `Router#new` now yields self as an argument
BREAKING CHANGE: Removed `Router#draw` in favor of new `#on` overload with namespace

Closes #71
vladfaust added a commit that referenced this issue Apr 20, 2019
BREAKING CHANGE: `Router#new` now yields self as an argument
BREAKING CHANGE: Removed `Router#draw` in favor of new `#on` overload with namespace

Closes #71
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant