diff options
author | re4k <re4k@re4k.info> | 2013-04-04 03:07:35 +0900 |
---|---|---|
committer | re4k <re4k@re4k.info> | 2013-04-04 03:07:35 +0900 |
commit | 61dde16fd55babd2ccf5ff6a9c8be1f600868d9b (patch) | |
tree | af4e6f14ad16f87e911426e950ff1d72128f8328 /config | |
parent | 1b49426b0c935a44262384acb526e5fbb86598c7 (diff) | |
download | aclog-61dde16fd55babd2ccf5ff6a9c8be1f600868d9b.tar.gz |
Add repoting copied tweets form
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb index 5529210..3bad221 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -10,9 +10,8 @@ Aclog::Application.routes.draw do :order => /(fav(orite[sd]?|(or)?ed|s)?|re?t(weet(s|ed)?|s)?)/, } - root :to => "main#index" - # static + root :to => "main#index" get "/about" => "main#about" get "/about/api" => "main#api" @@ -28,6 +27,10 @@ Aclog::Application.routes.draw do get "/i/show" => "users#show" get "/i/:id" => "users#show", :constraints => constraints + # report + get "/i/report" => "report#index" + post "/i/report/tweet" => "report#tweet" + get "/search" => "search#search" # i -- end |