Trim line of code in form class.
This commit is contained in:
parent
d392365a1b
commit
55379a0adb
|
@ -87,7 +87,9 @@ protected static function method($method)
|
|||
*/
|
||||
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));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -540,4 +542,4 @@ protected static function id($name, $attributes)
|
|||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue