diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2013-01-31 14:01:57 +1100 |
---|---|---|
committer | Matthew Landauer <matthew@openaustralia.org> | 2013-01-31 14:01:57 +1100 |
commit | 13495a891581ac1864edaf226126e76e257d78d9 (patch) | |
tree | 54e436f403573ed2d4401b175e983187aedaf45b /app/controllers/general_controller.rb | |
parent | ea03685aa9d09d7cd29e0ef875d3afa7758b29ea (diff) |
Globbing in routes is slightly different in Rails 3
Diffstat (limited to 'app/controllers/general_controller.rb')
-rw-r--r-- | app/controllers/general_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/general_controller.rb b/app/controllers/general_controller.rb index faf34aa04..34870bd42 100644 --- a/app/controllers/general_controller.rb +++ b/app/controllers/general_controller.rb @@ -109,7 +109,7 @@ class GeneralController < ApplicationController def search # XXX Why is this so complicated with arrays and stuff? Look at the route # in config/routes.rb for comments. - combined = params[:combined] + combined = params[:combined].split("/") @sortby = nil @bodies = @requests = @users = true if combined.size > 0 && (['advanced'].include?(combined[-1])) |