docbrown/app/views/api/v0/github_repos/index.json.jbuilder
Andy Zhao ebd4b50f3f Use Preact for asynchronous rendering for /settings/integrations (#986)
* Set default styles and move button style out of form

* Add MVP of Preact /settings/integrations

* Change background color on hover and focus

* Remove unused constructor

* Improve optimistic rendering

* Add display name

* Use loading indicator for optimistic rendering

* WIP test

* Add basic snapshot tests
2018-10-31 15:51:07 -04:00

6 lines
200 B
Ruby

json.array! @repos.each do |repo|
json.github_id_code repo.id
json.name repo.name
json.fork repo.fork
json.selected repo.selected
end