Fix ruby warnings about deprecated keyword arguments.

This commit is contained in:
evazion
2021-01-11 05:06:38 -06:00
parent 95f39afcd9
commit 1e7a5ba49d
12 changed files with 22 additions and 23 deletions

View File

@@ -152,7 +152,7 @@ class PostPresenter
end
def humanized_essential_tag_string
@humanized_essential_tag_string ||= tag_set_presenter.humanized_essential_tag_string(default: "##{@post.id}")
@humanized_essential_tag_string ||= tag_set_presenter.humanized_essential_tag_string.presence || "##{@post.id}"
end
def filename_for_download