franklinyu/Votta-on-Rails

View on GitHub
app/views/topics/index.json.jbuilder

Summary

Maintainability
Test Coverage
json.array! @topics, partial: 'topics/topic', as: :topic