Sha256: da1b376b8c8bfb68abe9c4240445e14000cf9017c340d50b9daaf56f7baf87c8

Contents?: true

Size: 214 Bytes

Versions: 237

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

237 entries across 237 versions & 1 rubygems

Version Path
bullet_train-1.6.15 app/helpers/account/buttons_helper.rb
bullet_train-1.6.14 app/helpers/account/buttons_helper.rb
bullet_train-1.6.13 app/helpers/account/buttons_helper.rb
bullet_train-1.6.12 app/helpers/account/buttons_helper.rb
bullet_train-1.6.11 app/helpers/account/buttons_helper.rb
bullet_train-1.6.10 app/helpers/account/buttons_helper.rb
bullet_train-1.6.9 app/helpers/account/buttons_helper.rb
bullet_train-1.6.8 app/helpers/account/buttons_helper.rb
bullet_train-1.6.7 app/helpers/account/buttons_helper.rb
bullet_train-1.6.6 app/helpers/account/buttons_helper.rb
bullet_train-1.6.5 app/helpers/account/buttons_helper.rb
bullet_train-1.6.4 app/helpers/account/buttons_helper.rb
bullet_train-1.6.3 app/helpers/account/buttons_helper.rb
bullet_train-1.6.2 app/helpers/account/buttons_helper.rb
bullet_train-1.6.1 app/helpers/account/buttons_helper.rb
bullet_train-1.6.0 app/helpers/account/buttons_helper.rb
bullet_train-1.5.2 app/helpers/account/buttons_helper.rb
bullet_train-1.5.1 app/helpers/account/buttons_helper.rb
bullet_train-1.5.0 app/helpers/account/buttons_helper.rb
bullet_train-1.4.11 app/helpers/account/buttons_helper.rb