Sha256: 7208ab3022ddde4c56a582b79826f04ee923f713da86dde7cf39c06a030cbcd2

Contents?: true

Size: 293 Bytes

Versions: 24

Compression:

Stored size: 293 Bytes

Contents

to get the url '/blogs/1/posts/1/comments' => route [ :blogs, [:posts, :comments]]
map.resources :foo
map.resources :bar
map.resources :baz    => route :foo, :bar, :baz

map.resources :users do |user
  user.resources :blogs
  user.resources :projects
end
=> route [:users, :blogs, :projects]

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
mattknox-goaloc-0.4.2 doc/route_usage
mattknox-goaloc-0.4.4 doc/route_usage
mattknox-goaloc-0.4.5 doc/route_usage
mattknox-goaloc-0.4.7 doc/route_usage