title: Redirect to route not working in Laravel 5
body: <p>I have an app where the user submits a form which performs a SOAP exchange to get some data from a Web API.  If there are too many requests in a certain time, the Throttle server denies access.  I have made a custom error view for this called <code>throttle.blade.php</code> which is saved under <code>resources\views\pages</code>.  In <code>routes.php</code> I have named the route as:</p>
  
  <pre><code>Route::get('throttle', 'PagesController@throttleError');
  </code></pre>
  
  <p>In <code>PagesController.php</code> I have added the relevant function as:</p>
  
  <pre><code>public function throttleError() {
      return view('pages.throttle');
  }
  </code></pre>
  
  <p>Here is the <code>SoapWrapper</code> class I have created to perform the SOAP exchanges:</p>
  
  <pre><code>&lt;?php namespace App\Models;
  
  use SoapClient;
  use Illuminate\Http\RedirectResponse;
  use Redirect;
  
  class SoapWrapper {
  
  public function soapExchange() {
  
      try {
          // set WSDL for authentication
          $auth_url = "http://search.webofknowledge.com/esti/wokmws/ws/WOKMWSAuthenticate?wsdl";
  
          // set WSDL for search
          $search_url = "http://search.webofknowledge.com/esti/wokmws/ws/WokSearch?wsdl";
  
          // create SOAP Client for authentication
          $auth_client = @new SoapClient($auth_url);
  
          // create SOAP Client for search
          $search_client = @new SoapClient($search_url);
  
          // run 'authenticate' method and store as variable
          $auth_response = $auth_client-&gt;authenticate();
  
          // add SID (SessionID) returned from authenticate() to cookie of search client
          $search_client-&gt;__setCookie('SID', $auth_response-&gt;return);
  
      } catch (\SoapFault $e) {
          // if it fails due to throttle error, route to relevant view
          return Redirect::route('throttle');
      }
  }
  }
  </code></pre>
  
  <p>Everything works as it should until I reach the maximum number of requests allowed by the Throttle server, at which point it should display my custom view, but it displays the error:</p>
  
  <pre><code>InvalidArgumentException in UrlGenerator.php line 273:
  Route [throttle] not defined.
  </code></pre>
  
  <p>I cannot figure out why it is saying that the Route is not defined.</p>