3 lines
116 B
Ruby
3 lines
116 B
Ruby
json.extract! article, :id, :title, :content, :created_at, :updated_at
|
|
json.url article_url(article, format: :json)
|