after rails generate controller hello index
add some logic in the view