diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2013-02-01 14:52:34 +1100 |
---|---|---|
committer | Matthew Landauer <matthew@openaustralia.org> | 2013-02-01 14:52:34 +1100 |
commit | 2c00d9b1a4bf42bba92def1ee8e0f750db9b4905 (patch) | |
tree | 88658e644ac3c83f3ac69d3cb7c3a14cb59d53cf /app/controllers/general_controller.rb | |
parent | 0983f28ff23564a8aebd1f88d19d8787a42dab55 (diff) |
Handling of globbed parameters in routes has changed
Diffstat (limited to 'app/controllers/general_controller.rb')
-rw-r--r-- | app/controllers/general_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/general_controller.rb b/app/controllers/general_controller.rb index 34870bd42..ecf865543 100644 --- a/app/controllers/general_controller.rb +++ b/app/controllers/general_controller.rb @@ -110,6 +110,7 @@ class GeneralController < ApplicationController # XXX Why is this so complicated with arrays and stuff? Look at the route # in config/routes.rb for comments. combined = params[:combined].split("/") + p params[:combined] @sortby = nil @bodies = @requests = @users = true if combined.size > 0 && (['advanced'].include?(combined[-1])) |