This commit is contained in:
2023-02-03 11:28:24 +11:00
parent e64dacf8ba
commit f03502a0c1

View File

@@ -8,7 +8,7 @@ module Adamantium
slug = URI(params[:url]).path.split("/").last
post = post_repo.fetch!(slug)
if prams.key? :replace
if params.key? :replace
post_repo.update(post.id, params)
end