mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-13 04:00:21 +00:00
Merge pull request #12541 from openfoodfoundation/dependabot/bundler/rubocop-1.64.1
chore(deps-dev): bump rubocop from 1.63.5 to 1.64.1
This commit is contained in:
@@ -2,6 +2,6 @@
|
||||
|
||||
class HelpModalComponent < ModalComponent
|
||||
def initialize(id:, close_button: true)
|
||||
super(id:, close_button:)
|
||||
super
|
||||
end
|
||||
end
|
||||
|
||||
@@ -146,7 +146,7 @@ module Admin
|
||||
return nil if parent_data.blank?
|
||||
|
||||
@parent ||= parent_data[:model_class].
|
||||
public_send("find_by", parent_data[:find_by] => params["#{model_name}_id"])
|
||||
find_by(parent_data[:find_by] => params["#{model_name}_id"])
|
||||
instance_variable_set("@#{model_name}", @parent)
|
||||
end
|
||||
|
||||
|
||||
@@ -60,7 +60,7 @@ class ApplicationController < ActionController::Base
|
||||
rescue StandardError
|
||||
'unknown'
|
||||
end}")
|
||||
super(options, response_status)
|
||||
super
|
||||
end
|
||||
|
||||
def set_checkout_redirect
|
||||
|
||||
@@ -8,6 +8,6 @@ class BulkFormBuilder < ActionView::Helpers::FormBuilder
|
||||
opts[:class] = "#{opts[:class]} changed".strip
|
||||
end
|
||||
|
||||
super(field, **opts)
|
||||
super
|
||||
end
|
||||
end
|
||||
|
||||
@@ -22,7 +22,7 @@ module FilePreferences
|
||||
if has_preference?("#{key}_blob_id")
|
||||
:file
|
||||
else
|
||||
super(key)
|
||||
super
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user