You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.
Currently the resource generator only generates HTML resources. It should be able to generate JSON resources as well.
A flag will be needed to do this:
$ buffalo g resource --type=json users name email
When generating a JSON resource, no template files should be generated, and instead of r.HTML("template.html") being used in actions it should be r.JSON(model).
The text was updated successfully, but these errors were encountered:
Currently the resource generator only generates HTML resources. It should be able to generate JSON resources as well.
A flag will be needed to do this:
When generating a JSON resource, no template files should be generated, and instead of
r.HTML("template.html")
being used in actions it should ber.JSON(model)
.The text was updated successfully, but these errors were encountered: