Sha256: da1b376b8c8bfb68abe9c4240445e14000cf9017c340d50b9daaf56f7baf87c8

Contents?: true

Size: 214 Bytes

Versions: 234

Compression:

Stored size: 214 Bytes

Contents

module Account::ButtonsHelper
  def first_button_primary(context = nil)
    @global ||= {}

    if !@global[context]
      @global[context] = true
      "button"
    else
      "button-secondary"
    end
  end
end

Version data entries

234 entries across 234 versions & 1 rubygems

Version Path
bullet_train-1.14.0 app/helpers/account/buttons_helper.rb
bullet_train-1.13.0 app/helpers/account/buttons_helper.rb
bullet_train-1.12.3 app/helpers/account/buttons_helper.rb
bullet_train-1.12.2 app/helpers/account/buttons_helper.rb
bullet_train-1.12.1 app/helpers/account/buttons_helper.rb
bullet_train-1.12.0 app/helpers/account/buttons_helper.rb
bullet_train-1.11.0 app/helpers/account/buttons_helper.rb
bullet_train-1.10.0 app/helpers/account/buttons_helper.rb
bullet_train-1.9.0 app/helpers/account/buttons_helper.rb
bullet_train-1.8.5 app/helpers/account/buttons_helper.rb
bullet_train-1.8.4 app/helpers/account/buttons_helper.rb
bullet_train-1.8.3 app/helpers/account/buttons_helper.rb
bullet_train-1.8.2 app/helpers/account/buttons_helper.rb
bullet_train-1.8.1 app/helpers/account/buttons_helper.rb
bullet_train-1.8.0 app/helpers/account/buttons_helper.rb
bullet_train-1.7.23 app/helpers/account/buttons_helper.rb
bullet_train-1.7.22 app/helpers/account/buttons_helper.rb
bullet_train-1.7.21 app/helpers/account/buttons_helper.rb
bullet_train-1.7.20 app/helpers/account/buttons_helper.rb
bullet_train-1.7.19 app/helpers/account/buttons_helper.rb