
Untitled
By: a guest on
Jun 1st, 2012 | syntax:
None | size: 0.81 KB | hits: 10 | expires: Never
PhotoGallery::Application.routes.draw do
resources :collections do
member do
get 'scan'
end
end
resources :albums do
member do
get 'scan'
end
end
resources :images
resources :thumbnails do
member do
get 'purge'
get 'displayblob'
end
end
# The priority is based upon order of creation:
# first created -> highest priority.
# You can have the root of your site routed with "root"
# just remember to delete public/index.html.
root :to => 'collections#index'
# See how all your routes lay out with "rake routes"
# This is a legacy wild controller route that's not recommended for RESTful applications.
# Note: This route will make all actions in every controller accessible via GET requests.
# match ':controller(/:action(/:id(.:format)))'
end