Fix routes.rb when run directly