about summary refs log tree commit diff
path: root/app/helpers
diff options
context:
space:
mode:
authorNick Schonning <nschonni@gmail.com>2023-02-20 00:58:28 -0500
committerGitHub <noreply@github.com>2023-02-20 06:58:28 +0100
commit717683d1c39d2fe85d1cc3f5223e1f4cf43f1900 (patch)
treeadf7a7e93197707196ff3fdc7ca476deffede365 /app/helpers
parentd2dcb6c45a9db5439772f0553046e2c03a739a16 (diff)
Autofix Rubocop remaining Layout rules (#23679)
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/application_helper.rb1
-rw-r--r--app/helpers/languages_helper.rb1
2 files changed, 2 insertions, 0 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index 1f93b33f5..08020a65a 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -105,6 +105,7 @@ module ApplicationHelper
 
   def can?(action, record)
     return false if record.nil?
+
     policy(record).public_send("#{action}?")
   end
 
diff --git a/app/helpers/languages_helper.rb b/app/helpers/languages_helper.rb
index bb35ce08c..584394758 100644
--- a/app/helpers/languages_helper.rb
+++ b/app/helpers/languages_helper.rb
@@ -1,4 +1,5 @@
 # frozen_string_literal: true
+
 # rubocop:disable Metrics/ModuleLength, Style/WordArray
 
 module LanguagesHelper