public function publishFailed($type, $error = null)
    {
        app('antares.messages')->add('error', is_null($error) ? trans('Translations has not been published.') : $error);
        return redirect(handles('antares::translations/index/' . $type));
    }