Trim line of code in form class.

This commit is contained in:
Taylor Otwell 2011-11-23 08:23:01 -06:00
parent d392365a1b
commit 55379a0adb
1 changed files with 4 additions and 2 deletions

View File

@ -87,7 +87,9 @@ protected static function method($method)
*/ */
protected static function action($action, $https) protected static function action($action, $https)
{ {
return HTML::entities(URL::to(((is_null($action)) ? Request::uri() : $action), $https)); $uri = (is_null($action)) ? URI::current() : $action;
return HTML::entities(URL::to($uri, $https));
} }
/** /**