Remove 'admin' and 'webiste' if first in path
The Base Controller has it as a 'prefix path'

@param $name
@return string
510360
protected function getViewPathFormatted($name)
    {
        $path = $this->getViewPath($name);

        if (strpos($path, 'admin.') === 0) {
            $path = substr($path, 6);
        }

        if (strpos($path, 'admins.') === 0) {
            $path = substr($path, 7);
        }

        if (strpos($path, 'website.') === 0) {
            $path = substr($path, 8);
        }

        if (strpos($path, 'websites.') === 0) {
            $path = substr($path, 9);
        }

        return $path;
    }
50104
public function rm($name) {
        $name  =  $this->options['prefix'].addslashes($name);
        return $this->handler->execute('DELETE FROM `'.$this->options['table'].'` WHERE `cachekey`=\''.$name.'\'');
    }
957758
public static function removeHeader($name)
    {
        self::$headers = array_filter(self::$headers, function ($header) use ($name) {
            return strcasecmp($header[0], $name) !== 0;
        });
    }
788173
public function delete($name)
	{
		$model = sprintf('\\%sAdmin', Str::studly($name));
		$model = (new $model)->buildForm();

		return View::make('krafthaus/bauhaus::models.modals.delete')
			->with('name',  $name)
			->with('model', $model);
	}
429952
public function getPath($name)
    {
        if (array_key_exists($name, $this->paths)) {
            return '/' . $this->paths[$name];
        } else {
            throw new \InvalidArgumentException(sprintf('Path "%s" is not defined. Maybe you forgot to add it to tuna_cms_admin.paths config?', $name));
        }
    }
570922
public function removeDirective($name)
    {
        $name = strtolower(trim($name));
        unset($this->directives[$name]);
        return $this;
    }
987770
public function delete($name, $prefix = null) {
        $prefix = !is_null($prefix) ? $prefix : $this->prefix;
        if (is_array($name)) {
            foreach ($name as $key) {
                $this->delete($key, $prefix);
            }
        }
        elseif (strpos($name, '.')) {
            list($name1, $name2) = explode('.', $name);
            if ($prefix) {
                unset($_SESSION[$prefix][$name1][$name2]);
            }
            else {
                unset($_SESSION[$name1][$name2]);
            }
        }
        else {
            if ($prefix) {
                unset($_SESSION[$prefix][$name]);
            }
            else {
                unset($_SESSION[$name]);
            }
        }
    }
76133
public function removeHypertextRoute($name)
    {
        if (isset($this->hypertextRoutes[$name])) {
            unset($this->hypertextRoutes[$name]);
        }
        return $this;
    }
1024930
public function removeNamedRoute(string $name)
    {
        $route = $this->getNamedRoute($name);
        // no exception, route exists, now remove by id
        unset($this->routes[$route->getIdentifier()]);
    }
456042
public static function getAdminClass(string $name): string
    {
        $class = "";
        if (empty($name) === false && empty(self::$admin_classes[$name]) === false) {
            $class = self::$admin_classes[$name];
        }
        return $class;
    }
731858
public function prefixRoute($name)
    {
        $prefix = $this->config('route.name-prefix');

        return starts_with($name, $prefix) ? $name : $prefix . $name;
    }
1325517
private function parentPath($name)
    {
        $parts = $this->splitName($name);
        array_pop($parts);

        return implode('/', $parts);
    }
247604
public function removeExtension($name)
    {
        if (isset($this->extensions[$name])) {
            unset($this->extensions[$name]);
        }

        return $this;
    }
440718
public function delete($name)
    {
        return setcookie($name, '', (time() - 86400), '/', $this->domain, $this->https, true);
    }
402552
public function getRoutePath($name)
    {
        if (null !== $this->get($name)) {
            return $this->get($name)->getPath();
        }

        return null;
    }
1137243
public static function delete($name)
    {
        unset($_COOKIE[$name]);
        return Base::getHttp()->setCookie($name, null, -86400, Cookie::$path, Cookie::$domain, Cookie::$secure, Cookie::$httpOnly);
    }
964420
public function remove($name)
    {
        //argument 1 must be a string
        Argument::i()->test(1, 'string');

        $this->set($name, null, time() - 3600);

        unset($_COOKIE[$name]);

        return $this;
    }