File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -140,10 +140,11 @@ async sub dispatch ($c) {
140140 # This route could have the courseID set, but does not need authentication.
141141 return 1 if $c -> current_route eq ' saml2_metadata' ;
142142
143- return (0, ' This course does not exist.' )
143+ return (0, " The course $routeCaptures {courseID} does not exist." )
144144 unless (-e $ce -> {courseDirs }{root }
145145 || -e " $ce ->{webwork_courses_dir}/$ce ->{admin_course_id}/archives/$routeCaptures {courseID}.tar.gz" );
146- return (0, ' This course has been archived and closed.' ) unless -e $ce -> {courseDirs }{root };
146+ return (0, " The course $routeCaptures {courseID} has been archived and closed." )
147+ unless -e $ce -> {courseDirs }{root };
147148
148149 my $db = WeBWorK::DB-> new($ce );
149150 debug(" (here's the DB handle: $db )\n " );
You can’t perform that action at this time.
0 commit comments