Update app/controllers/categories_controller.rb

Fix extra whitespace and hash style.