Update app/controllers/categories_controller.rb

Fix extra whitespace and hash style.

Comply with a style guide like in Github.
Merge pull request #137 from shapkin/patch-1

Update app/controllers/categories_controller.rb