You can do something like:
scope '/legal' do
match "/about", to: 'static_pages#about', via: 'get'
match "/contact", to: 'static_pages#contact', via: 'get'
end
For more info check out the guides for namespacing: http://guides.rubyonrails.org/routing.html#controller-namespaces-and-routing