I have the following routes:
Brand.all.each do |brand| get "/#{brand.slug}", to: \'brands#index\'# end
That generates: