Skip to content

Commit

Permalink
Merge pull request #36 from UnderlineWords/patch-for-UrlGenerator
Browse files Browse the repository at this point in the history
Updated Themes.php for UrlGenerator
  • Loading branch information
kaidesu committed Feb 4, 2016
2 parents de4fbab + d24ec32 commit f3d67b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Themes.php
Original file line number Diff line number Diff line change
Expand Up @@ -375,10 +375,10 @@ public function asset($asset)
$asset = $segments[0];
}

return url().'/'.$this->config->get('themes.paths.base').'/'
return url($this->config->get('themes.paths.base').'/'
.($theme ?: $this->getActive()).'/'
.$this->config->get('themes.paths.assets').'/'
.$asset;
.$asset);
}

/**
Expand Down

0 comments on commit f3d67b2

Please sign in to comment.