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

Updated api.http to handle controller returns fns #9907

Merged
merged 1 commit into from Sep 26, 2018
Merged

Updated api.http to handle controller returns fns #9907

merged 1 commit into from Sep 26, 2018

Conversation

allouis
Copy link
Contributor

@allouis allouis commented Sep 26, 2018

refs #9865

This is to ensure that if a controller returns a function, it will
always get called regardless of method.

Also cleaned up top level const usage.

This will be used by the session controller to hand off work to the session service.

@allouis allouis changed the title Updated api.http to handler controller returns fns Updated api.http to handle controller returns fns Sep 26, 2018
@kirrg001 kirrg001 merged commit 6c35de7 into TryGhost:master Sep 26, 2018
refs #9865

This is to ensure that if a controller returns a function, it will
always get called regardless of method.

Also cleaned up top level const usage
@allouis allouis deleted the update-api-http-wrapper branch September 26, 2018 06:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants