add RESTful redirect on index view