aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/general_controller.rb
diff options
context:
space:
mode:
authorSeb Bacon <seb.bacon@gmail.com>2011-09-01 13:45:18 +0100
committerSeb Bacon <seb.bacon@gmail.com>2011-09-01 13:45:18 +0100
commit21495a7361c275040d22bb88a70186253d20853a (patch)
treea5eba191057ac8d98fae69c4a36bc33eb77f09db /app/controllers/general_controller.rb
parent7833dfbf9833f6fd42b05c36d308d016ae614be2 (diff)
Make the general search return requests only, by default
Diffstat (limited to 'app/controllers/general_controller.rb')
-rw-r--r--app/controllers/general_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/general_controller.rb b/app/controllers/general_controller.rb
index 004136163..73c8407fd 100644
--- a/app/controllers/general_controller.rb
+++ b/app/controllers/general_controller.rb
@@ -99,7 +99,7 @@ class GeneralController < ApplicationController
@variety_postfix = path.pop
end
@variety_postfix = params[:bodies] if @variety_postfix.nil? && !params[:bodies].nil?
- @variety_postfix = "all" if @variety_postfix.nil?
+ @variety_postfix = "requests" if @variety_postfix.nil?
if @variety_postfix != "users"
@common_query = get_tags_from_params
end