osunyorg/admin

View on GitHub
app/views/api/osuny/communication/websites/show.json.jbuilder

Summary

Maintainability
Test Coverage
json.extract! @website, :name, :url
json.deuxfleurs do
  json.hosting @website.deuxfleurs_hosting
  json.identifier @website.deuxfleurs_identifier
end
json.features do
  json.agenda @website.feature_agenda
  json.portfolio @website.feature_portfolio
  json.posts @website.feature_posts
end
json.git do
  json.branch @website.git_branch
  json.endpoint @website.git_endpoint
  json.provider @website.git_provider
end
json.showcase do
  json.present @website.in_showcase
  json.highlighted @website.highlighted_in_showcase
  json.tags @website.showcase_tags
end