make redirect for the index url in app.rb