Skip to content

Commit

Permalink
Update preview links to work in silverstripe installations that are l…
Browse files Browse the repository at this point in the history
…ocated in a subfolder. (#558)
  • Loading branch information
bummzack authored and anselmdk committed Oct 11, 2016
1 parent 1529709 commit c517dbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/tasks/ShopEmailPreviewTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function run($request)
{
$email = $request->remaining();
$params = $request->allParams();
$url = "/dev/{$params['Action']}/{$params['TaskName']}";
$url = Director::absoluteURL("dev/{$params['Action']}/{$params['TaskName']}", true);

echo '<h2>Choose Email</h2>';
echo '<ul>';
Expand Down

0 comments on commit c517dbf

Please sign in to comment.