Commit c7f889fe by Taylor Otwell

Move slash redirects to application level.

parent 086f2966
...@@ -13,6 +13,8 @@ ...@@ -13,6 +13,8 @@
$app = new Illuminate\Foundation\Application; $app = new Illuminate\Foundation\Application;
$app->redirectIfTrailingSlash();
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Detect The Application Environment | Detect The Application Environment
......
...@@ -2,9 +2,6 @@ ...@@ -2,9 +2,6 @@
Options -MultiViews Options -MultiViews
RewriteEngine On RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)/$ http://%{HTTP_HOST}/$1 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L] RewriteRule ^ index.php [L]
</IfModule> </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