-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Use res.status() #576
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
Comments
I would like to make necesary changes. Sadly I cannot make fork on github. It always make me to generator-angular fork. So I start with local clone. |
Whoops misclicks. Looking forward to the PR @gintsgints 😄 |
Can you please point me on instructions how to make PR from local clone? |
@gintsgints you'll need to have a fork on github to be able to push new beaches to. Once a new branch is pushed to github you'll see a button on your project's main page to create a PR. We'll need to get you a proper fork before you can make a PR. I'm guessing you've tried clicking the fork button on the main page for this project? |
I believe you can still make PRs with a local clone. Just push to your topic branch as usual (e.g.
Or, you could give git-extras a shot, see if the |
Perhaps I'm missing something but if @gintsgints simply cloned this repo then his origin would be this repo by default. He would need to create a new project on github and then add it as a remote. Then he could push to it and maybe(?) make a PR. |
@kingcody yup, sorry I left out the [implicit] steps of replacing the origin remote. |
This way, I managed to create repository at github that is actual clone of generator-angular-fullstack. But it now do not want to allow to create PR from two "different" repos :( |
@gintsgints I've made a branch containing the changes for this issue. I was wondering if you would like to review it or possibly submit your own PR. Either way thanks for all your help on the project :) |
First difference I found is I use:
yours
I do not know is end() needed or not but it worked for me without. |
Also do not know what could be better:
vs
probably first :) |
@gintsgints as for |
@kingcody agreed on .end() 👍 |
Changes: - use `res.status()` instead of `res.verb(123, item)` Closes angular-fullstack#576
Thanks @gintsgints, I appreciate the extra set of eyes on this. |
What else... I had different files for modification. (IMHO I have modified master). |
Mean yours and mine templates name.controller.js was different.
|
I did have a typo in |
I think this was taken care of in #704, correct me if I'm wrong. |
Yes. All done.
|
As pointed out by @eikaramba, Express 4 now uses a syntax such as:
This should be implemented in the server code and endpoint template.
The text was updated successfully, but these errors were encountered: