Skip to content

Commit

Permalink
use /play/{id} instead of hardcoding paella
Browse files Browse the repository at this point in the history
  • Loading branch information
tgloeggl committed Oct 4, 2023
1 parent 1bbbac8 commit 8b9dd8e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 23 deletions.
2 changes: 1 addition & 1 deletion app/controllers/redirect.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ private function getLtiCustomTool($video, $action) {
if (!empty($preview)) {
$video->views += 1;
$video->store();
$custom_tool = "/paella/ui/watch.html?id={$video->episode}";
$custom_tool = "/play/{$video->episode}";
}
break;
default:
Expand Down
Loading

0 comments on commit 8b9dd8e

Please sign in to comment.