Modifications to use the dynamic router in the routes.rb file