Skip to content
Permalink
Browse files

Redirect to the right place.

  • Loading branch information...
csev committed Sep 14, 2018
1 parent 1ca9ebe commit 3d8995257810291d2ff4c8ce4d0843e9f2320458
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/Controllers/Lessons.php
@@ -59,6 +59,7 @@ public function launch(Request $request, Application $app, $anchor=null)
$path = U::rest_path();
$redirect_path = U::addSession($path->parent);
if ( $redirect_path == '') $redirect_path = '/';
if ( ! isset($CFG->lessons) ) {
$app->tsugiFlashError(__('Cannot find lessons.json ($CFG->lessons)'));

0 comments on commit 3d89952

Please sign in to comment.
You can’t perform that action at this time.