commit 4ca094 make some routes disappear #316

Closed
comensee opened this Issue Oct 17, 2012 · 2 comments

2 participants

@comensee

I just ran compose.phar update to update my vendors and the changes on Controller\FOSRestController make disappear some routes when i run php app/console router:debug.

Is there a solution to fix this ?

for now i put the implementation of class RessourceInterface ("abstract class FOSRestController extends Controller implements ClassResourceInterface ").

thanks

@stof
FriendsOfSymfony member

@comensee if you rely on the ClassResourceInterface feature, you should implement the interface in your class. Implementing it in the abstract class was forcing people to rely on it, forbiddign to reuse only the base class for its helper methods

@comensee

I don't see where i could rely on this feature. I am just extending FOSRestController, that's it.

@comensee comensee closed this Oct 18, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment