title: Laravel 4: Multiple Action in a Single Contnroller Not Working?
body: <p>I am new to Laravel and am just stuck upon this thing. I have set a controller which contains multiple actions for application. It turns out that if I put a single action in a single controller class, it works quite well. But when I use multiple action. It gives that damn error "Whoops, looks like something went wrong."
  So, exactly what am I doing wrong? below is my controller class:</p>
  
  <pre><code>&lt;? php
  class ProgController extends BaseController
  {
  public function showHome()
  {
  return View::make('home');
  }
  public function showLogin()
  {
  return ('you are not authorized to login yet');
  }
  public function showTravel()
  {
  return View::make('travel');
  }
  }
  </code></pre>
  
  <p>and here is the route.php file content:</p>
  
  <pre><code>Route::get('/', 'ProgController@showHome');
  Route::get('/login', 'ProgController@showLogin');
  Route::get('/travel', 'ProgController@showTravel');
  </code></pre>
  
  <p>the files are in their respective default folders. I am worried has it something to do with composer.json file or what? what am I doing wrong? </p>