Reputation: 1958
Is there a difference between thoses 2 lignes?
render(url('hwi_oauth_connect'));
render(controller("HWIOAuthBundle:Connect:connect"));
with route being (xml):
hwi_oauth_connect:
path: /login/
defaults: {_controller: HWIOAuthBundle:Connect:connect }
Upvotes: 0
Views: 2085
Reputation: 779
No there is not a difference.
You use render().
In french documentation, it's all the same thing for renders the fragment for the given controller or URI:
Upvotes: 2