Skip to content

Instantly share code, notes, and snippets.

sdwarwick

Block or report user

Report or block sdwarwick

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@sdwarwick
sdwarwick / route.php
Last active Nov 29, 2015
route parameters and url query parameters
View route.php
// Suppose you have a minimum of two routes, where a redirection to a route wants to include the original URL query string.
//
// The only way to add a URI query string to a route in Laravel is when you use the
// route( "named route" , "optional route parameters" ) construction.
//
// These "optional route parameters" are in the form of an array, potentially with associated keys.
//
// If the named route is a simple route, the associative array "optional route parameters" is used to build
// a URI query string.
//
You can’t perform that action at this time.