Refactor get /todos/:id route on main.rb file. Edit todo view.