as
$root = $this->app['resources']->getUrl('bolt');
outputs "/subfolder/branding/" and creates a "No route found for" error when bolt is not installed inside root folder
$root = $this->app['config']->get('general/branding/path') . '/';
outputs "/branding/" and fixes the routing issue when bolt is installed in a subfolder.
as $root = $this->app['resources']->getUrl('bolt'); outputs "/subfolder/branding/" and creates a "No route found for" error when bolt is not installed inside root folder $root = $this->app['config']->get('general/branding/path') . '/'; outputs "/branding/" and fixes the routing issue when bolt is installed in a subfolder.