refactored comments_controller.rb create action