edit routes.rb
set the routes constraints for the api
specify rails version
scope the routes to include the version on the URL