Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-05-25 11:11:47 +0300
committerPhil Hughes <me@iamphill.com>2016-06-08 12:10:51 +0300
commit48726e9d307536318c7d87e2ba93f93582e22bfa (patch)
treedfa83fdcab67b1a6f0d83fe0d106ecf8ceb2c284 /app/helpers/button_helper.rb
parent8b40a7745be84659c10db02e3bbb74126bd42414 (diff)
Updated failing tests
Diffstat (limited to 'app/helpers/button_helper.rb')
-rw-r--r--app/helpers/button_helper.rb4
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