diff options
author | re4k <re4k@re4k.info> | 2013-03-27 21:41:56 +0900 |
---|---|---|
committer | re4k <re4k@re4k.info> | 2013-03-27 21:41:56 +0900 |
commit | 9ed0b4d86906a47ddb90270032079fd9cec360bb (patch) | |
tree | b3ca3b1c47503dabfb92a5066475ee9b50072c5f /config/routes.rb | |
parent | 613da69215bd72a1f04a6e2b5568151a87b9e37a (diff) | |
download | aclog-9ed0b4d86906a47ddb90270032079fd9cec360bb.tar.gz |
error
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/config/routes.rb b/config/routes.rb index a5b6b85..c175f0e 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -22,19 +22,20 @@ Aclog::Application.routes.draw do get "/i/logout" => "sessions#destroy" # other - get "/i/show" => "i#show", :constraints => constraints - get "/i/best" => "i#best" get "/i/recent" => "i#recent" get "/i/timeline" => "i#timeline" - get "/i/:id" => "i#show", :constraints => constraints # user + get "/i/show" => "users#show", :constraints => constraints + get "/users/best" => "users#best", :constraints => constraints get "/users/recent" => "users#recent", :constraints => constraints get "/users/timeline" => "users#timeline", :constraints => constraints get "/users/discovered" => "users#discovered", :constraints => constraints + get "/i/:id" => "users#show", :constraints => constraints + get "/:screen_name(/:page)" => "users#best", :constraints => constraints get "/:screen_name/:order(/:page)" => "users#best", :constraints => constraints |