From 2ee53feea8903b0c40c93b2b14aebd6991c46754 Mon Sep 17 00:00:00 2001 From: blackst0ne Date: Sun, 8 Apr 2018 16:27:27 +1100 Subject: Fix typos in comments [ci skip] --- app/helpers/safe_params_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/helpers/safe_params_helper.rb b/app/helpers/safe_params_helper.rb index feacd3eef4a..b568e8810cc 100644 --- a/app/helpers/safe_params_helper.rb +++ b/app/helpers/safe_params_helper.rb @@ -1,6 +1,6 @@ module SafeParamsHelper - # Rails 5.0 requires to permit parameters if used in url helpers. - # User this helper when generating links with `params.merge(...)` + # Rails 5.0 requires to permit `params` if they're used in url helpers. + # Use this helper when generating links with `params.merge(...)` def safe_params if params.respond_to?(:permit!) params.except(:host, :port, :protocol).permit! -- cgit v1.2.1