diff options
author | Rhenium <rhenium@rhe.jp> | 2014-01-18 12:10:49 +0900 |
---|---|---|
committer | Rhenium <rhenium@rhe.jp> | 2014-01-18 12:12:06 +0900 |
commit | 6897d802857ec6fafe28779cb171be6b71b684a6 (patch) | |
tree | 12fd6c5e930e67fb7ad12e8f71462037a8b837e5 | |
parent | 54c58ee2a0967177d8eff2c74b0f14d90d8a6cb4 (diff) | |
download | aclog-6897d802857ec6fafe28779cb171be6b71b684a6.tar.gz |
remove HelpController
-rw-r--r-- | app/controllers/help_controller.rb | 4 | ||||
-rw-r--r-- | app/views/help/search.html.haml | 42 | ||||
-rw-r--r-- | app/views/shared/sidebar/_i.html.haml | 4 | ||||
-rw-r--r-- | config/routes.rb | 2 |
4 files changed, 1 insertions, 51 deletions
diff --git a/app/controllers/help_controller.rb b/app/controllers/help_controller.rb deleted file mode 100644 index 0cf1567..0000000 --- a/app/controllers/help_controller.rb +++ /dev/null @@ -1,4 +0,0 @@ -class HelpController < ApplicationController - def search - end -end diff --git a/app/views/help/search.html.haml b/app/views/help/search.html.haml deleted file mode 100644 index e9d5d3b..0000000 --- a/app/views/help/search.html.haml +++ /dev/null @@ -1,42 +0,0 @@ -- title "Search Options" -- caption :title -- sidebar :i -%h2 search options -%table - %tr - %th example - %th finds tweets... - %tr - %td aclog search - %td (containing "aclog") and (containing "search") - %tr - %td "happy hour" - %td (containing "happy hour") - %tr - %td love OR hate - %td (containing "aclog") or (containing "search") - %tr - %td beer -root - %td (containing "beer") and (not (containing "root")) - %tr - %td user:cn - %td (sent from the user @cn) - %tr - %td source:"Tweet Button" - %td (sent from the client "Tweet Button") - %tr - %td fav:30 - %td (favorited 30 times and more) - %tr - %td rt:30 - %td (retweeted 30 times and more) - %tr - %td since:20130401 until:20130531 - %td (sent between 2013-04-01 and 2013-05-31) - %tr - %td aclog fav:10 OR rt:5 - %td (containing "aclog") and ((favorited 10 times and more) or (retweeted 5 times and more)) - %tr - %td (aclog -fav:10) OR rt:5 - %td ((containing "aclog") and (not (favorited 10 times and more))) or (retweeted 5 times and more) - diff --git a/app/views/shared/sidebar/_i.html.haml b/app/views/shared/sidebar/_i.html.haml index 5461916..2442589 100644 --- a/app/views/shared/sidebar/_i.html.haml +++ b/app/views/shared/sidebar/_i.html.haml @@ -1,10 +1,8 @@ .list-group = link_to "about", about_path, class: "list-group-item" = link_to "api", about_api_path, class: "list-group-item" - = link_to "search help", help_search_path, class: "list-group-item" -.list-group - = link_to "search", search_path, class: "list-group-item" .list-group = link_to "best", best_path, class: "list-group-item" = link_to "recent", recent_path, class: "list-group-item" = link_to "timeline", timeline_path, class: "list-group-item" + = link_to "search", search_path, class: "list-group-item" diff --git a/config/routes.rb b/config/routes.rb index d6190d2..1af890a 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -28,8 +28,6 @@ Aclog::Application.routes.draw do get "/about/api/docs" => "apidocs#index", as: "api_docs" get "/about/api/docs/:resource/:name" => "apidocs#endpoint", as: "api_docs_endpoint" - get "/help/search" => "help#search", as: "help_search" - # User pages scope "/:screen_name" do get "/" => "tweets#index", as: "user" |