diff --git a/app/views/api/v0/articles/index.json.jbuilder b/app/views/api/v0/articles/index.json.jbuilder index da98e6f20..0332a5444 100644 --- a/app/views/api/v0/articles/index.json.jbuilder +++ b/app/views/api/v0/articles/index.json.jbuilder @@ -4,7 +4,7 @@ json.array! @articles do |article| # /api/articles and /api/articles/:id have opposite representations # of `tag_list` and `tags and we can't align them without breaking the API, # this is fully documented in the API docs - # see for more details + # see for more details json.tag_list article.cached_tag_list_array json.tags article.cached_tag_list diff --git a/app/views/api/v0/articles/show.json.jbuilder b/app/views/api/v0/articles/show.json.jbuilder index faaf7f743..3891e4c61 100644 --- a/app/views/api/v0/articles/show.json.jbuilder +++ b/app/views/api/v0/articles/show.json.jbuilder @@ -3,7 +3,7 @@ json.partial! "article", article: @article # /api/articles and /api/articles/:id have opposite representations # of `tag_list` and `tags and we can't align them without breaking the API, # this is fully documented in the API docs -# see for more details +# see for more details json.tag_list @article.cached_tag_list json.tags @article.cached_tag_list_array