Please sign in to comment.
Refactored up ActiveAdmin::Comments::Views::Comments#comment_form_url
* Removed the string checking of "root". Instead use the root? method. * Only call send if we have to, in the case of the comments_path we can just call the method.
- Loading branch information...
Showing with 6 additions and 3 deletions.