Skip to content

Commit

Permalink
Merge pull request #1 from lonnylot/repository_url
Browse files Browse the repository at this point in the history
Fixed repository URL
  • Loading branch information
mpscholten committed Apr 12, 2014
2 parents 65629b5 + 50fefc2 commit d6730c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Api/Repository/Repository.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ protected function load()
$url = $this->getAttribute('url');
} elseif ($this->isAttributeLoaded('owner') && $this->isAttributeLoaded('name')) {
$url = TemplateUrlGenerator::generate(
'/repos/{/owner}/{/repo}',
'/repos/{/owner}/{/name}',
['owner' => $this->getOwner()->getLogin(), 'name' => $this->getName()]
);
} else {
Expand Down

0 comments on commit d6730c0

Please sign in to comment.