Update knowledgebase_controller.rb

Some minor codecleanup.
Merge pull request #172 from CodeInsider/patch-1

Update knowledgebase_controller.rb