I am trying to use RESTful controller. Here is my Route.php
:
Route::resource(\'test\', \'TestController\');
Route::get(\'/\', function()
{
r
Put this in root .htaccess
file
The below code do three things :
Note : RewriteRule ^ index.php [L]
this code solve your problem my problem was not added [L]
after index.php
RewriteEngine On
#Session timeout
Options -MultiViews
Options +FollowSymlinks
RewriteEngine On
# Redirect Trailing Slashes...
RewriteRule ^(.*)/$ /$1 [L,R=301]
RewriteCond %{REQUEST_FILENAME} -d [OR]
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^ ^$1 [N]
RewriteCond %{REQUEST_URI} (\.\w+$) [NC]
RewriteRule ^(.*)$ public/$1
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]