lib/sketchily/sketchily.rb in sketchily-1.0.3 vs lib/sketchily/sketchily.rb in sketchily-1.1.0
- old
+ new
@@ -1,11 +1,11 @@
module Sketchily
module FormBuilderInstanceMethods
def sketchily(method, options = {})
Sketchily.render(:partial => "sketchily/sketchily",
:locals => {:template => @template, :object_name => @object_name,
- :method => method, :options => objectify_options(options)}).html_safe
+ :method => method, :options => objectify_options(options)})
end
def svg_edit(method, options = {})
sketchily(method, options)
end
@@ -13,10 +13,10 @@
module ActionViewBaseInstanceMethods
def sketchily(object_name, method, options = {})
Sketchily.render(:partial => "sketchily/sketchily",
:locals => {:template => self, :object_name => object_name,
- :method => method, :options => options}).html_safe
+ :method => method, :options => options})
end
def svg_edit(object_name, method, options = {})
sketchily(object_name, method, options)
end