Update app/controllers/categories_controller.rb

Fix extra whitespace and hash style.

Comply with a style guide like in Github.