Change routes.rb snippet to avoid server reload