title: Unable to generate a URL for the named route "sg_calendar_update_xhr_event"
body: <p>I have installed recently <strong>SgCalendarBundle,</strong> in Symfony, and first of all I create the path to sg_calendar:</p>
  
  <pre><code>//src MyBundle/config/routing.yml
  sg_calendar:
      pattern: /calendar
      defaults: { _controller: SgCalendarBundle:Calendar:index }
  </code></pre>
  
  <p>But when I execute my page with the tag</p>
  
  <pre><code>&lt;a class="brand" href="{{ path('sg_calendar') }}"&gt;SgCalendarBundle&lt;/a&gt;
  </code></pre>
  
  <p>I get the following error in symfony: <code>Unable to generate a URL for the named route "sg_calendar_update_xhr_event" as such route does not exist.
  500 Internal Server Error - RouteNotFoundException</code>.</p>