changed url format for flickr photos to make way for my plans for interesting photos and other possibilities.

This commit is contained in:
Andrew Davidson 2009-10-30 00:35:25 -07:00
parent 8a83dfaf9f
commit ba10bfad72

View file

@ -39,8 +39,8 @@ ActionController::Routing::Routes.draw do |map|
# Note: These default routes make all actions in every controller accessible via GET requests. You should
# consider removing or commenting them out if you're using named routes and resources.
map.connect 'f/i', :controller => "flickr", :action => "index"
map.connect 'f/:id', :controller => "flickr", :action => "photo"
map.connect 'f', :controller => "flickr", :action => "index"
map.connect 'p/:id', :controller => "flickr", :action => "photo"
map.connect 's/i', :controller => "screenshot", :action => "index"
map.connect 's/:filename', :controller => "screenshot", :action => "single", :requirements => { :filename => /.*/ }