public function view($action, $view = null)
    {
        if (is_array($action)) {
            foreach ($action as $realAction => $realView) {
                $this->action($realAction)->view($realView);
            }

            return;
        }

        $this->action($action)->view($view);
    }