public function detailsJSON($lang, $id)
    {
        // check if user has permissions to access this link
        if(!User::hasAccess('Tags', 'update')) {
            return $this->noPermission();
        }

        $tags = Tag::find($id);
        $media = Media::find($tags->featuredImageID);
        $final = array(
            'details' => $tags,
            'featuredImage' => $media
        );

        // Fire event
        $final['events'] = Event::fire('tag:pre_update', [$final]);
        return $final;
    }