diff options
Diffstat (limited to 'app/components/pajamas/button_component.rb')
-rw-r--r-- | app/components/pajamas/button_component.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/components/pajamas/button_component.rb b/app/components/pajamas/button_component.rb index b2dd798b718..cdfd201bfb8 100644 --- a/app/components/pajamas/button_component.rb +++ b/app/components/pajamas/button_component.rb @@ -65,7 +65,7 @@ module Pajamas classes.push(VARIANT_CLASSES[@variant]) unless NON_CATEGORY_VARIANTS.include?(@variant) || @category == :primary - classes.push(VARIANT_CLASSES[@variant] + '-' + CATEGORY_CLASSES[@category]) + classes.push("#{VARIANT_CLASSES[@variant]}-#{CATEGORY_CLASSES[@category]}") end classes.push(@button_options[:class]) |