plugin/blog/Controller/Resource/BlogController.php
public function openAction(Blog $blog)
    {
        return $this->redirectToRoute('claro_resource_open', [
            'node' => $blog->getResourceNode()->getId(),
            'resourceType' => $blog->getResourceNode()->getResourceType()->getName(),
        ], 301);
    }
public function openAction(Blog $blog)
    {
        return $this->redirectToRoute('claro_resource_open', [
            'node' => $blog->getResourceNode()->getId(),
            'resourceType' => $blog->getResourceNode()->getResourceType()->getName(),
        ], 301);
    }
public function openAction ( Blog $ blog ) { return $ this -> redirectToRoute ( 'claro_resource_open' , [ 'node' => $ blog -> getResourceNode ( ) -> getId ( ) , 'resourceType' => $ blog -> getResourceNode ( ) -> getResourceType ( ) -> getName ( ) , ] , 301 ) ; }
Route parameter is for backwards compatibility and redirects old URLS to the new react ones.

@EXT\Route("/{blogId}", name="icap_blog_open")
@EXT\ParamConverter("blog", class="IcapBlogBundle:Blog", options={"id" = "blogId"})
Route parameter is for backwards compatibility and redirects old URLS to the new react ones .