Skip to content

Instantly share code, notes, and snippets.

@ugisozols
Last active December 17, 2015 23:48
Show Gist options
  • Save ugisozols/5691647 to your computer and use it in GitHub Desktop.
Save ugisozols/5691647 to your computer and use it in GitHub Desktop.
Adding back :meta_keywords to SeoMeta
# without https://github.com/refinery/refinerycms/pull/2285
# config/initializers/seo_meta_addon.rb
SeoMeta.class_eval do
attributes.merge! :meta_keywords => :string
end
Refinery::Page.class_eval do
attr_accessible :meta_keywords
end
Refinery::Page::Translation.class_eval do
attr_accessible :meta_keywords
end
# ------------------------------------------------------
# with https://github.com/refinery/refinerycms/pull/2285
# config/initializers/seo_meta_addon.rb
SeoMeta.class_eval do
attributes.merge! :meta_keywords => :string
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment