Update categories_controller.rb

Added comments