0

In laravel 3 I was able to route with :all wildcard like this:

Route::get('test/(:all)', array();

so I could pass all segments after test in one variable eg. from link like

http://mytestsite.dev/test/it/is/working

I would have it/is/working string passed to a controller.

How to do it in laravel 4, regarding that there is no :all wildcard?

Tom
  • 3,654
  • 2
  • 16
  • 23
  • 1
    Maybe you are looking for this. http://stackoverflow.com/a/13297541/1799322 – edisonthk May 27 '14 at 08:49
  • This specific answer is what you want http://stackoverflow.com/a/16181707/1317935 – Laurence May 27 '14 at 14:26
  • possible duplicate of [Get all routes, Laravel 4](http://stackoverflow.com/questions/16178426/get-all-routes-laravel-4) – Laurence May 27 '14 at 14:26
  • Answers to those questions are not directly solving my problem, but I found there what I was looking for. Thanks guys :) – Tom May 28 '14 at 07:20

0 Answers0