Alias URL mit Sinatra / Padrino
Ich habe das und es funktioniert
get :about, :map => '/about_us' do
render :erb, "<%= 'foo' %>"
end
get '/:slug' do
redirect "/about_us" # <--
end
Ist es möglich, auf irgendeine Weise "rendern" statt "umleiten" zu tun? oder so ähnlich wie 'posts / 1' rendern