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

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -