spree/spree — pull request #1308 by sbounmy (2012-03-25 13:47:05+00:00)
Title: fix button_link_to to pass html_options like :confirm to button

button_link_to with method != 'get' can now take html_options

Example : Actual "Ship" button in /shipments/edit with :confirm option supplied does not trigger the confirmation box :

```erb
<%= button_link_to t(:ship), fire_admin_order_shipment_path(@order, @shipment, :e => 'ship'), :method => :put, :confirm => t(:are_you_sure) %>
```