Skip to content

Commit

Permalink
Merge pull request #3 from niroshubey966/master
Browse files Browse the repository at this point in the history
Fix blog dynamic seo information update issue
  • Loading branch information
randikabanura authored Sep 21, 2020
2 parents b4a4ff8 + d8c28b4 commit c17c515
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 c17c515

Please sign in to comment.