Skip to content

Commit

Permalink
t push origin masterMerge branch 'danielboendergaard-fix-trailing-slash'
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffreyWay committed Mar 27, 2015
2 parents 13edbc8 + 7753219 commit 4fbbeb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Extensions/IntegrationTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ protected function prepareUrl($url)
}

if (! Str::startsWith($url, 'http')) {
$url = sprintf("%s/%s", $this->baseUrl(), $url);
$url = rtrim(sprintf("%s/%s", $this->baseUrl(), $url), '/');
}

return $url;
Expand Down

0 comments on commit 4fbbeb4

Please sign in to comment.