https変数を使用して、またはhttp変数に依存して、コントローラー関数からビューを返したいです。私はredirectそれをしたくないし、使用したりhttps機能しhttpたいだけです。出来ますか?View::make()Response::view()
例:
public function getSiteContent($https = false)
{
if($https===true){
//return to secure https url
return View::make('sites.content');
}
else{
//return to http url
return View::make('sites.content');
}
}