Move slash redirects to application level.

This commit is contained in:
Taylor Otwell 2013-05-14 00:27:39 -05:00
parent 086f2966c0
commit c7f889fe54
2 changed files with 2 additions and 3 deletions

View File

@ -13,6 +13,8 @@
$app = new Illuminate\Foundation\Application;
$app->redirectIfTrailingSlash();
/*
|--------------------------------------------------------------------------
| Detect The Application Environment

View File

@ -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>