LaravelBook\Laravel4Powerpack\Form::action PHP Method

action() protected method

If no action is specified, the current request URI will be used.
protected action ( string $action, boolean $https ) : string
$action string
$https boolean
return string
    protected function action($action, $https)
    {
        $uri = is_null($action) ? $this->url->getRequest()->path() : $action;
        return $this->html->entities($this->url->to($uri, array(), $https));
    }