Fix rubocop nits

This commit is contained in:
Andreas Nedbal 2023-10-24 01:11:04 +02:00 committed by Andreas Nedbal
parent bc0ce6be3f
commit 1573c2f702
1 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@ class ModalController < ApplicationController
def close
return redirect_to root_path unless turbo_frame_request?
render inline: turbo_frame_tag("modal")
render inline: turbo_frame_tag("modal") # rubocop:disable Rails/RenderInline
end
end