Skip to content

Commit

Permalink
Better URL
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed Aug 19, 2015
1 parent 3054c2e commit 2f8a5e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ return [
return [
'title' => $entry->title,
'url' => $entry->url,
'jsonUrl' => UrlHelper::getUrl('news/'.$entry->id.'.json'),
'jsonUrl' => UrlHelper::getUrl("news/{$entry->id}.json"),
'summary' => $entry->summary,
];
},
Expand Down

0 comments on commit 2f8a5e1

Please sign in to comment.