module Interage::CocoonHelper

Constants

DEFAULT_BTN_CLASS

Public Instance Methods

cocoon_default_btn_class(type) click to toggle source
# File lib/interage/cocoon_helper.rb, line 27
def cocoon_default_btn_class(type)
  default_btn_class =
    ENV.fetch('DEFAULT_COCOON_BTN_CLASS', DEFAULT_BTN_CLASS)

  "#{default_btn_class}#{type} text-truncate"
end