api_doc:
    resource: "@NelmioApiDocBundle/Resources/config/routing.yml"
    prefix:   /

blog_article:
    type:     rest
    resource: BlogBundle\Controller\ArticleController

blog_article:
    type:     rest
    resource: BlogBundle\Controller\ArticleController

api_doc:
    resource: "@NelmioApiDocBundle/Resources/config/routing.yml"
    prefix:   /doc

homepage:
    path: /
    defaults:
        _controller: FrameworkBundle:Redirect:redirect
        route:       nelmio_api_doc_index
        permanent:   true

Change GET / to redirect for documentation
Change GET / to redirect for documentation
