Refs #7156: fix rubocop offenses in app/controllers.