member do
end
end
+ resources :pictures do
+ collection do
+ get :show
+ end
+ member do
+ get :credit
+ end
+ end
resources :resource_pictures do
collection do
get :index
get :browse
end
member do
+ get :credit
end
end
resources :original_pictures do
# match 'products/:id' => 'catalog#view'
# Keep in mind you can assign values other than :controller and :action
match 'resource_pictures/:subdir/:id(.:format)/' => 'resource_pictures#show'
+ match 'pictures/:subdir/:id(.:format)/' => 'pictures#show'
match 'home/(:action)', :controller => 'home'
match 'help/(:action)', :controller => 'help'
match 'system/(:action)', :controller => 'system'