refactored sale route into app/sale/route.rb