app/helpers/dorsale/form_helper.rb in dorsale-1.2.6 vs app/helpers/dorsale/form_helper.rb in dorsale-2.0.1

- old
+ new

@@ -37,7 +37,14 @@ } }.deep_merge(opts) simple_form_for(obj, opts, &block) end + + def search_form(opts = {}) + action = opts.delete(:action) || request.fullpath + + render "dorsale/search/form", action: action + end + end end