diff --git a/bootstrap/start.php b/bootstrap/start.php index cd8a5b69..9848f9bc 100644 --- a/bootstrap/start.php +++ b/bootstrap/start.php @@ -13,6 +13,8 @@ $app = new Illuminate\Foundation\Application; +$app->redirectIfTrailingSlash(); + /* |-------------------------------------------------------------------------- | Detect The Application Environment diff --git a/public/.htaccess b/public/.htaccess index a3432c2a..1285c511 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -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] \ No newline at end of file