Update hosts_controller.rb

Adds the display action