laravel/framework — pull request #3276 by orrd (2014-01-17 01:55:57+00:00)
Title: Allows routes to be specified as "http".

https://github.com/laravel/laravel/issues/2536 fixed an issue where URL::to() couldn't be used to create
http URLs from an https page. This is a fix to a similar but different
issue where URL::route() also can't be used to create routes that are
http if the current page is https.

In order to properly fix this issue with consistency for Laravel route
design, it was necessary to add an "http" route option (an "https"
option already existed, but there was no "http" option).

So with this commit, it is now possible to specify 'http' in a route
declaration, which behaves exactly as the 'https' option does, forcing
generated route URLs to use http, and only responding to http requests
for the route.