Commit c7f889fe authored by Taylor Otwell's avatar Taylor Otwell

Move slash redirects to application level.

parent 086f2966
......@@ -13,6 +13,8 @@
$app = new Illuminate\Foundation\Application;
$app->redirectIfTrailingSlash();
/*
|--------------------------------------------------------------------------
| Detect The Application Environment
......
......@@ -2,9 +2,6 @@
Options -MultiViews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)/$ http://%{HTTP_HOST}/$1 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment