$blog->getRouteKey(), 'id' => $blog->id, 'title' => $blog->title, 'body' => $blog->body, 'status' => trans('app.'.$blog->status), 'created_at' => format_date($blog->created_at), 'updated_at' => format_date($blog->updated_at), ]; } }