rizwanreza
15p11 comments posted · 0 followers · following 0
16 years ago @ Union Station - The Lowdown on Routes ... · 0 replies · +1 points
16 years ago @ Union Station - The Lowdown on Routes ... · 0 replies · +1 points
I meant this:
redirect("http://github.com/rails.atom") do
# routes here
end
This is not supported, last I checked. Thanks!
16 years ago @ Union Station - The Lowdown on Routes ... · 0 replies · +1 points
Can you point out the typos? Thanks!
16 years ago @ Union Station - The Lowdown on Routes ... · 0 replies · +1 points
16 years ago @ Union Station - The Lowdown on Routes ... · 0 replies · +1 points
match /products/show(/:type)' => 'products#show' # Available as params[:type]
match /assets/show(/:type)' => 'products#show'
If you'd rather not allow the user to mention the type in the URL:
match /products/show' => 'products#show', :type => 'simple' # Available as params[:type]
match /assets/show' => 'products#show', :type => 'complex'
16 years ago @ Union Station - The Lowdown on Routes ... · 0 replies · +1 points
16 years ago @ Union Station - The Lowdown on Routes ... · 0 replies · +1 points
16 years ago @ Union Station - The Lowdown on Routes ... · 0 replies · +2 points
I will work through an example and add it to the article. Thanks.
16 years ago @ Union Station - The Lowdown on Routes ... · 0 replies · +1 points
16 years ago @ Union Station - The Lowdown on Routes ... · 0 replies · +1 points