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

Controller Helpers #8

Open
5 tasks
eliasjpr opened this issue Jun 7, 2017 · 3 comments
Open
5 tasks

Controller Helpers #8

eliasjpr opened this issue Jun 7, 2017 · 3 comments

Comments

@eliasjpr
Copy link
Contributor

eliasjpr commented Jun 7, 2017

The html, json, text and xml method helpers simplify setting the response headers.

Tasks:

Acceptance Criteria:

  • The ability to use templates to render text, xml, html, json
  • The proper content-type and response code is set
@elorest
Copy link
Member

elorest commented Nov 2, 2017

This has been done in amber/controllers/render.cr since it's uses are uniq to amber instead of helpers module.

@elorest
Copy link
Member

elorest commented Nov 2, 2017

amberframework/amber#313

@faustinoaq
Copy link
Contributor

@eliasjpr Is this already done?

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

3 participants