· 1 min read

Screencast: Routing in Rails 3 Teil 2

Download:

Download(38.6 MB, 13:25) Alternativer Download für iPod & Apple TV(32.7 MB, 13:25)

Resourcen:

Quellcode:

[ruby] # routes.rb match ‘products’ => redirect(“/items”) get ‘products/recent’ resources :products do collection do get :discounted end end controller :products do match # … end [/ruby]

Back to Blog