Changed to check for config/routes path based the rails app instead of assuming config/routes.rb