add index def and html.erb