From 79f70f03efbfca59ea80b344e56aa29ac1e72c47 Mon Sep 17 00:00:00 2001 From: Tom Clegg Date: Mon, 5 May 2014 20:22:38 -0400 Subject: [PATCH] Use send(symbol) instead of send(string). --- apps/workbench/app/controllers/actions_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/workbench/app/controllers/actions_controller.rb b/apps/workbench/app/controllers/actions_controller.rb index 87b14480a8..2dab6dd6a8 100644 --- a/apps/workbench/app/controllers/actions_controller.rb +++ b/apps/workbench/app/controllers/actions_controller.rb @@ -13,7 +13,7 @@ class ActionsController < ApplicationController def post params.keys.collect(&:to_sym).each do |param| if @@exposed_actions[param] - return self.send(param.to_s) + return self.send(param) end end redirect_to :back -- 2.30.2