Update controller.rb

backing out of changes.