src/LaravelCommode/Common/Controllers/CommodeController.php
public function callAction($method, array $parameters = [])
    {
        $isAjax = app()->make('request')->ajax();

        $method = $this->checkAjaxMethod($method, $isAjax);
        $parameters = $this->checkParametersResolving($method, $parameters);

        return parent::callAction($method, $parameters);
    }
public function callAction($method, array $parameters = [])
    {
        $isAjax = app()->make('request')->ajax();

        $method = $this->checkAjaxMethod($method, $isAjax);
        $parameters = $this->checkParametersResolving($method, $parameters);

        return parent::callAction($method, $parameters);
    }
public function callAction ( $ method , array $ parameters = [ ] ) { $ isAjax = app ( ) -> make ( 'request' ) -> ajax ( ) ; $ method = $ this -> checkAjaxMethod ( $ method , $ isAjax ) ; $ parameters = $ this -> checkParametersResolving ( $ method , $ parameters ) ; return parent :: callAction ( $ method , $ parameters ) ; }
Calls controller action.

@param string $method
@param array $parameters
@return mixed
Calls controller action .