title: Laravel 4: Getting URL::route to returns a HTTPS URL without enforcing HTTPS in the routes
body: <p>I want all the links on my site to use HTTPS; however I cannot (for non technical reasons) force users to use HTTPS. I therefore want all URLs generated by Laravel to be prefixed with 'https', but I don't want Laravel to throw an exception if a user visits the URL over 'http'.</p>
  
  <p>I have the following route setup:</p>
  
  <pre><code>Route::get('dashboard', [ 'uses'=&gt;'DashboardController@view' ]);
  </code></pre>
  
  <p>Can anyone tell me how to get <code>URL::route('dashboard')</code> to return a HTTPS version of the URL, without rewriting my route as:</p>
  
  <pre><code>Route::get('dashboard', [ 'https', 'uses'=&gt;'DashboardController@view' ]);
  </code></pre>
  
  <p>Or how to write my route as per the second example, but not thrown an exception if then accessed over 'http'?</p>