diff options
author | Phil Hughes <me@iamphill.com> | 2016-05-25 11:11:47 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-06-08 12:10:51 +0300 |
commit | 48726e9d307536318c7d87e2ba93f93582e22bfa (patch) | |
tree | dfa83fdcab67b1a6f0d83fe0d106ecf8ceb2c284 /app/helpers/button_helper.rb | |
parent | 8b40a7745be84659c10db02e3bbb74126bd42414 (diff) |
Updated failing tests
Diffstat (limited to 'app/helpers/button_helper.rb')
-rw-r--r-- | app/helpers/button_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/button_helper.rb b/app/helpers/button_helper.rb index fabd726aae9..07a3f452460 100644 --- a/app/helpers/button_helper.rb +++ b/app/helpers/button_helper.rb @@ -14,10 +14,10 @@ module ButtonHelper # # => "<button class='...' data-clipboard-target='div#foo'>...</button>" # # See http://clipboardjs.com/#usage - def clipboard_button(data = {}, css_class: 'btn-clipboard') + def clipboard_button(data = {}) content_tag :button, icon('clipboard'), - class: "btn #{css_class}", + class: "btn", data: data, type: :button end |