SyntaxFix
Write A Post
Hire A Developer
Questions
#At Controller def branch @data = Model.all render json: JSON.pretty_generate(@data.as_json) end