app/models/alchemy/page.rb in alchemy_cms-7.0.7 vs app/models/alchemy/page.rb in alchemy_cms-7.0.8
- old
+ new
@@ -579,10 +579,10 @@
private
def set_fixed_attributes
fixed_attributes.all.each do |attribute, value|
- send("#{attribute}=", value)
+ send(:"#{attribute}=", value)
end
end
def select_page(pages, options = {})
pages = options.fetch(:public, true) ? pages.published : pages.not_public