diff --git a/app/Http/Home/Views/chapter/read.volt b/app/Http/Home/Views/chapter/read.volt index 2566d51d..9624486a 100644 --- a/app/Http/Home/Views/chapter/read.volt +++ b/app/Http/Home/Views/chapter/read.volt @@ -2,7 +2,7 @@ {% block content %} - {% set share_url = full_url('chapter',chapter.id,auth_user.id) %} + {% set share_url = share_url('chapter',chapter.id,auth_user.id) %} {% set qrcode_url = url({'for':'home.qrcode'},{'text':share_url}) %} {% set course_url = url({'for':'home.course.show','id':chapter.course.id}) %} {% set learning_url = url({'for':'home.chapter.learning','id':chapter.id}) %}