From 29a5d0408c9512b57d2c8308c9e6dad4fe0ec9cd Mon Sep 17 00:00:00 2001 From: Georg Gadinger Date: Tue, 28 Apr 2020 21:42:41 +0200 Subject: [PATCH] ajax_controller: fix variable name --- app/controllers/ajax_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/ajax_controller.rb b/app/controllers/ajax_controller.rb index 961d09b9..8331130d 100644 --- a/app/controllers/ajax_controller.rb +++ b/app/controllers/ajax_controller.rb @@ -23,7 +23,7 @@ class AjaxController < ApplicationController @response = { success: false, - message: I18n.t('messages.parameter_error', parameter: param_miss_ex.param.capitalize), + message: I18n.t('messages.parameter_error', parameter: e.param.capitalize), status: :parameter_error }