title: URL segment using Laravel 4
body: <p>How can I implement a segment based url in laravel 4? 
  I tried using it in laravel 3 like URI::segment(1) and it works. I converted my website using laravel 4 but the URI::segment(1) got an error. Any help?</p>