pakyow-presenter/lib/presenter/binder_set.rb in pakyow-presenter-0.9.0 vs pakyow-presenter/lib/presenter/binder_set.rb in pakyow-presenter-0.9.1

- old
+ new

@@ -71,10 +71,10 @@ routes = Router.instance.group(route_group) return_data = {} if id = bindable[:id] return_data[:view] = lambda { |view| - view.prepend(View.from_doc(NokogiriDoc.from_doc(Nokogiri::HTML.fragment('<input type="hidden" name="_method" value="patch">')))) + view.prepend(View.new('<input type="hidden" name="_method" value="patch">')) } action = routes.path(:update, :"#{route_group}_id" => id) else action = routes.path(:create)