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

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

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

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

mfenner opened this issue Jun 10, 2015 · 2 comments

Comments

@mfenner
Copy link
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.

@jalperin
Copy link

Thanks.

@mfenner
Copy link
Member Author

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants