app/models/locomotive/editable_control.rb in locomotive_cms-2.0.0.rc12 vs app/models/locomotive/editable_control.rb in locomotive_cms-2.0.0
- old
+ new
@@ -29,13 +29,9 @@
%w(content options).each do |meth|
self.attributes[meth] = el.attributes[meth]
end
end
- def as_json(options = {})
- Locomotive::EditableControlPresenter.new(self).as_json
- end
-
protected
def propagate_content
if self.content_changed?
operations = {