We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ea2b41 commit 8e71917Copy full SHA for 8e71917
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
@@ -28,7 +28,7 @@ def ordered_#{embed_name} # def orderd_slices
28
29
30
31
32
[:slices, :set_slices].each do |embed_name|
33
next if attributes[embed_name].nil?
34
0 commit comments