[ARVADOS] created: 010228669dc56a9a92fbe3f1de80b6215d47f6e2

git at public.curoverse.com git at public.curoverse.com
Fri Aug 29 18:23:19 EDT 2014


        at  010228669dc56a9a92fbe3f1de80b6215d47f6e2 (commit)


commit 010228669dc56a9a92fbe3f1de80b6215d47f6e2
Author: Tom Clegg <tom at curoverse.com>
Date:   Fri Aug 29 17:54:36 2014 -0400

    3704: Force params[:filters] into native format so views and helpers can use it.

diff --git a/apps/workbench/app/controllers/application_controller.rb b/apps/workbench/app/controllers/application_controller.rb
index 2810a66..8acaa60 100644
--- a/apps/workbench/app/controllers/application_controller.rb
+++ b/apps/workbench/app/controllers/application_controller.rb
@@ -128,6 +128,8 @@ class ApplicationController < ActionController::Base
           end
         end
       end
+      # After this, params[:filters] can be trusted to be an array of arrays:
+      params[:filters] = filters
       @filters += filters
     end
   end

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list