Update Ruby to 3.3

This commit is contained in:
Sebastian Serth
2023-12-25 11:01:23 +01:00
parent aa8222a9ef
commit 04863f1f25
8 changed files with 18 additions and 15 deletions

View File

@ -53,9 +53,9 @@ module ApplicationHelper
ActionController::Base.helpers.sanitize Kramdown::Document.new(markdown, input: 'GFM', hard_wrap: false).to_html.strip
end
def row(options = {}, &)
def row(options = {}, &block)
tag.div(class: 'attribute-row row') do
label_column(options[:label]) + value_column(options[:value], &)
label_column(options[:label]) + value_column(options[:value], &block)
end
end