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 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
Copy link

@jalperin jalperin commented Jun 10, 2015

Thanks.

@mfenner
Copy link
Member Author

@mfenner 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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.