FriendsOfSymfony/FOSCommentBundle — pull request #165 by asm89 (2012-04-05 15:02:46+00:00)
Title: Thread open close button. Fixes #162

Implements the functionality described here #162. If someone has edit rights for a thread, then the open/close button will be show.

This PR is based of #164 since it needs the `base_url` added in that PR. Furthermore two small BC breaks are introduced. One is the changing of the method name `ThreadInterface#setIsCommentable` to `ThreadInterface#setCommentable`. This was needed to get the forms working with the form framework. The other is the additions of the `ThreadManagerInterface#isNewThread()` method. Both BC breaks should however only affect users with a custom persistence backend and users that using `setIsCommentable`.