tubbsfireinfo.com/FireResponse/config/routes.rb

6 lines
196 B
Ruby

Rails.application.routes.draw do
['recent_news', 'resources', 'support_services', 'gas_stations', 'markets', 'shelters', 'volunteering'].each do |x|
get "/#{x}", to: "tables##{x}"
end
end