changed routes.rb file for resources charges