public function publishNodeAction(NodeInterface $node, Workspace $selectedWorkspace)
    {
        $this->publishingService->publishNode($node);
        $this->addFlashMessage($this->translator->translateById('workspaces.selectedChangeHasBeenPublished', [], null, null, 'Modules', 'Neos.Neos'));
        $this->redirect('show', null, null, ['workspace' => $selectedWorkspace]);
    }
public function publishNodeAction(NodeInterface $node, Workspace $selectedWorkspace)
    {
        $this->publishingService->publishNode($node);
        $this->addFlashMessage($this->translator->translateById('workspaces.selectedChangeHasBeenPublished', [], null, null, 'Modules', 'Neos.Neos'));
        $this->redirect('show', null, null, ['workspace' => $selectedWorkspace]);
    }
public function publishNodeAction ( NodeInterface $ node , Workspace $ selectedWorkspace ) { $ this -> publishingService -> publishNode ( $ node ) ; $ this -> addFlashMessage ( $ this -> translator -> translateById ( 'workspaces.selectedChangeHasBeenPublished' , [ ] , null , null , 'Modules' , 'Neos.Neos' ) ) ; $ this -> redirect ( 'show' , null , null , [ 'workspace' => $ selectedWorkspace ] ) ; }
Publish a single node

@param NodeInterface $node
@param Workspace $selectedWorkspace
Publish a single node