Skip to content

Commit

Permalink
Fix blog dynamic seo information update issue
Browse files Browse the repository at this point in the history
  • Loading branch information
nirosh ubeysinghe committed Sep 21, 2020
1 parent b4a4ff8 commit d8c28b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fi_seo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def update_dynamic_seo_record
self.create_dynamic_seo_record
else
DynamicSeo.where(seoable_type: self.class.to_s).where(seoable_id: self.id)
.update_all(title: self.title_value, description: self.description_value, keywords: self.keywords_value)
.update_all(title: self.dynamic_seo.title, description: self.dynamic_seo.description, keywords: self.dynamic_seo.keywords)
end
end
end
Expand Down

0 comments on commit d8c28b4

Please sign in to comment.