code: public function run()
  	{
  		switch (Input::get('p'))
  		{
  			case 'facebook':
  				return new RedirectResponse(
  					'https://www.facebook.com/sharer/sharer.php'
  						. '?u=' . rawurlencode(Input::get('u', true))
  				);
  
  			case 'twitter':
  				return new RedirectResponse(
  					'https://twitter.com/intent/tweet'
  						. '?url=' . rawurlencode(Input::get('u', true))
  						. '&text=' . rawurlencode(Input::get('t', true))
  				);
  
  			case 'gplus':
  				return new RedirectResponse(
  					'https://plus.google.com/share'
  						. '?url=' . rawurlencode(Input::get('u', true))
  				);
  		}
  
  		return new RedirectResponse('../');
  	}
docs: Run the controller
  
  @return RedirectResponse