update routes.rb to get method