lib/bhf/view_helpers.rb in bhf-0.4.2.2 vs lib/bhf/view_helpers.rb in bhf-0.4.2.3

- old
+ new

@@ -9,10 +9,10 @@ if object.respond_to?(:'bhf_can_edit?', true) return unless object.bhf_can_edit?(options) end - render :partial => 'bhf/helper/frontend_edit', :locals => { :platform_name => options[:platform_name], :object => object } + render partial: 'bhf/helper/frontend_edit', locals: { platform_name: options[:platform_name], object: object } end end end end \ No newline at end of file