Update visits_controller.rb

I think you want to use ApplicationController. If not how are you defining your current_user method?