| … | |
… | |
| 145 | return WeBWorK::ContentGenerator::Feedback->new($r, $ce, $db)->go; |
145 | return WeBWorK::ContentGenerator::Feedback->new($r, $ce, $db)->go; |
| 146 | } elsif ($arg eq "logout") { |
146 | } elsif ($arg eq "logout") { |
| 147 | return WeBWorK::ContentGenerator::Logout->new($r, $ce, $db)->go; |
147 | return WeBWorK::ContentGenerator::Logout->new($r, $ce, $db)->go; |
| 148 | } elsif ($arg eq "test") { |
148 | } elsif ($arg eq "test") { |
| 149 | return WeBWorK::ContentGenerator::Test->new($r, $ce, $db)->go; |
149 | return WeBWorK::ContentGenerator::Test->new($r, $ce, $db)->go; |
| 150 | } elsif ($arg eq "quiz" ) { |
150 | } elsif ($arg eq "quiz_mode" ) { |
| 151 | # Gateway quiz capability -- very similar to problem set (initially) |
151 | # Gateway quiz capability -- very similar to problem set (initially) |
| 152 | return WeBWorK::ContentGenerator::GatewayQuiz->new($r, $ce, $db)->go(@components); |
152 | return WeBWorK::ContentGenerator::GatewayQuiz->new($r, $ce, $db)->go(@components); |
| 153 | } else { # We've got the name of a problem set. |
153 | } else { # We've got the name of a problem set. |
| 154 | my $problem_set = $arg; |
154 | my $problem_set = $arg; |
| 155 | my $ps_arg = shift @components; |
155 | my $ps_arg = shift @components; |