protected function removeRegisteredLocation()
    {
        $current         = $this->where('slug', $this->getCurrent())->first();
        $currentLocation = $this->path('resources/views');

        app('view.finder')->removeLocation($currentLocation);

        if ($current->has('parent')) {
            $parent         = $this->where('slug', $current->get('parent'))->first();
            $parentLocation = $this->path('resources/views', $parent->slug);
            app('view.finder')->removeLocation($parentLocation);
        }
    }