Rails Tutorial Help

I am new to Ruby on
Rails, and have been though chapter one of Michael Hartl Rails
Tutorial. I have a couple of questions. But for now I will just list
the first one. Everything has worked well but I can’t figure out how
to place the hello action in the application controller. I am working
in Ubuntu 14.04

I figured this out from http://guides.rubyonrails.org/getting_started.html