protected function determineRouteAction(Model $model)
    {
        $routeHelper = $this->getRouteHelper();

        $permissionPrefix = $routeHelper->getPermissionPrefixForModelSlug(
            $routeHelper->getRouteSlugForModelClass(get_class($model))
        );

        // Change the action to show if we don't have edit permissions
        if ( ! cms_auth()->can($permissionPrefix . 'edit')) {
            return 'show';
        }

        return 'edit';
    }