@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Heimuya\Captcha; |
4 | 4 | |
5 | 5 | use Illuminate\Routing\Controller; |
6 | -use Illuminate\Config\Repository; |
|
7 | 6 | |
8 | 7 | /** |
9 | 8 | * Class CaptchaController |
@@ -24,7 +24,7 @@ |
||
24 | 24 | |
25 | 25 | // HTTP routing |
26 | 26 | if (strpos($this->app->version(), 'Lumen') !== false) { |
27 | - $this->app->get('captcha[/{config}]', 'Heimuya\Captcha\LumenCaptchaController@getCaptcha'); |
|
27 | + $this->app->get('captcha[/{config}]', 'Heimuya\Captcha\LumenCaptchaController@getCaptcha'); |
|
28 | 28 | } else { |
29 | 29 | if ((double) $this->app->version() >= 5.2) { |
30 | 30 | $this->app['router']->get('captcha/{config?}', '\Heimuya\Captcha\CaptchaController@getCaptcha')->middleware('web'); |