We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39a9c37 commit 81969a6Copy full SHA for 81969a6
app/models/page.rb
@@ -141,7 +141,7 @@ def template
141
"pages/show"
142
end
143
144
- def update_attributes(attributes)
+ def update_attributes(attributes, options = {})
145
attributes = attributes.symbolize_keys
146
147
unless home?
@@ -160,7 +160,6 @@ def update_attributes(attributes)
160
161
162
163
-
164
# Added in merge or page & content
165
def set_keywords
166
super
lib/slices/has_slices.rb
@@ -26,7 +26,7 @@ def ordered_#{embed_name} # def orderd_slices
26
27
28
29
30
[:slices, :set_slices].each do |embed_name|
31
next if attributes[embed_name].nil?
32
0 commit comments