Fix rubocop nits
This commit is contained in:
parent
bc0ce6be3f
commit
1573c2f702
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue