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

Add simple response method to view #112

Open
pchalupa opened this issue Feb 7, 2021 · 0 comments
Open

Add simple response method to view #112

pchalupa opened this issue Feb 7, 2021 · 0 comments
Labels
feature New feature or request

Comments

@pchalupa
Copy link
Contributor

pchalupa commented Feb 7, 2021

Describe your feature request

After some actions where We don't need to response with data, there could be handy method witch basically render only some sort of standardized format like {"status": "ok"} or something like that. Sou the general workflow should looks like that:

action
$this->view->responseOk();
return

Method name is not definitely given, it can be differ. There could be another method with same purpose with inverse meaning.

@pchalupa pchalupa added the feature New feature or request label Feb 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant