it seems like there is a lot of shared code between this and the Downvotes controller. You might try DRYing it up a bit by either inheriting both from a single class, or by wrapping some of the common elements in a module to include in both.