Code Review

Don't include a helper method in a controller. Instead define the method in the controller and use `helper_method :controller_method_name` to make it available in the view.  Or if you only need it for the controllers then just define it in the ApplicationController