@@ -27,7 +27,7 @@ |
||
27 | 27 | //Laravel 5.2.x |
28 | 28 | $this->app['router']->get('captcha/{config?}', '\Mews\Captcha\CaptchaController@getCaptcha')->middleware('web'); |
29 | 29 | } else if (strpos($this->app->version(), 'Lumen') !== false) { |
30 | - //Laravel Lumen |
|
30 | + //Laravel Lumen |
|
31 | 31 | $this->app['router']->get('captcha[/{config?}]', '\Mews\Captcha\LumenCaptchaController@getCaptcha'); |
32 | 32 | } else { |
33 | 33 | //Laravel 5.0.x ~ 5.1.x |
@@ -23,7 +23,7 @@ |
||
23 | 23 | ], 'config'); |
24 | 24 | |
25 | 25 | // HTTP routing |
26 | - if (strpos($this->app->version(),'5.2.') == false) { |
|
26 | + if (strpos($this->app->version(), '5.2.') == false) { |
|
27 | 27 | //Laravel 5.2.x |
28 | 28 | $this->app['router']->get('captcha/{config?}', '\Mews\Captcha\CaptchaController@getCaptcha')->middleware('web'); |
29 | 29 | } else if (strpos($this->app->version(), 'Lumen') !== false) { |