symfony - Unable to generate a URL for the named route "sg_calendar_update_xhr_event" -
i have installed sgcalendarbundle, in symfony, , first of create path sg_calendar:
//src mybundle/config/routing.yml sg_calendar: pattern: /calendar defaults: { _controller: sgcalendarbundle:calendar:index } but when execute page tag
<a class="brand" href="{{ path('sg_calendar') }}">sgcalendarbundle</a> i following error in symfony: unable generate url named route "sg_calendar_update_xhr_event" such route not exist. 500 internal server error - routenotfoundexception.
routes annotations need imported routing.yml:
# app/config/routing.yml # sgrrulebundle sg_rrule: resource: "@sgrrulebundle/controller/" type: annotation prefix: / # sgcalendarbundle sg_calendar: resource: "@sgcalendarbundle/controller/" type: annotation prefix: / this documentation issue fixed: https://github.com/stwe/calendarbundle/issues/1
Comments
Post a Comment