json.extract! @post, :id, :title, :file, :group, :created_at, :updated_at