I want to define a route in Laravel 4.x if a URL is called f.e:
http://myurl.com/images/*.png
If this url is called a redirect to the following URL should be made:
http://myurl.com
I want to define a route in Laravel 4.x if a URL is called f.e:
http://myurl.com/images/*.png
If this url is called a redirect to the following URL should be made:
http://myurl.com
I think that should work..
Route::get('/images/{all}.png', function()
{
return Redirect::to('/');
});