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

optionally serve v3 API responses for single works as array #321

Closed
mfenner opened this Issue Jun 10, 2015 · 2 comments

Comments

Projects
None yet
2 participants
@mfenner
Member

mfenner commented Jun 10, 2015

For backwards compatibility with the API format until Lagotto 3.8, i.e. before switching from rabl to jbuilder for JSON rendering.

@mfenner mfenner closed this in be892aa Jun 10, 2015

@jalperin

This comment has been minimized.

Show comment
Hide comment

Thanks.

@mfenner

This comment has been minimized.

Show comment
Hide comment
@mfenner

mfenner Jun 10, 2015

Member

As said in the forum post, please put the following into your .env file and restart the server:

# return JSON for single works as array in v3 API
API=rabl
Member

mfenner commented Jun 10, 2015

As said in the forum post, please put the following into your .env file and restart the server:

# return JSON for single works as array in v3 API
API=rabl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment