lib/origami/page.rb in origami-1.2.6 vs lib/origami/page.rb in origami-1.2.7
- old
+ new
@@ -197,10 +197,10 @@
}[type]
rsrc = ls_resources(type)
n = '1'
- while rsrc.include? (prefix + n).to_sym
+ while rsrc.include?((prefix + n).to_sym)
n.next!
end
(prefix + n).to_sym
end