changed url format for flickr photos to make way for my plans for interesting photos and other possibilities.
This commit is contained in:
parent
8a83dfaf9f
commit
ba10bfad72
1 changed files with 2 additions and 2 deletions
|
@ -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 => /.*/ }
|
||||
|
|
Loading…
Reference in a new issue