Sha256: 94abd153766d76b431710c68e4de5ffe1efa7f72fc3b03469e8177fe6748e643

Contents?: true

Size: 186 Bytes

Versions: 240

Compression:

Stored size: 186 Bytes

Contents

module Account::MembershipsHelper
  def membership_destroy_locale_key(membership)
    if membership.user == current_user
      ".destroy_own"
    else
      ".destroy"
    end
  end
end

Version data entries

240 entries across 240 versions & 1 rubygems

Version Path
bullet_train-1.0.39 app/helpers/account/memberships_helper.rb
bullet_train-1.0.38 app/helpers/account/memberships_helper.rb
bullet_train-1.0.37 app/helpers/account/memberships_helper.rb
bullet_train-1.0.36 app/helpers/account/memberships_helper.rb
bullet_train-1.0.35 app/helpers/account/memberships_helper.rb
bullet_train-1.0.34 app/helpers/account/memberships_helper.rb
bullet_train-1.0.33 app/helpers/account/memberships_helper.rb
bullet_train-1.0.32 app/helpers/account/memberships_helper.rb
bullet_train-1.0.31 app/helpers/account/memberships_helper.rb
bullet_train-1.0.30 app/helpers/account/memberships_helper.rb
bullet_train-1.0.29 app/helpers/account/memberships_helper.rb
bullet_train-1.0.28 app/helpers/account/memberships_helper.rb
bullet_train-1.0.27 app/helpers/account/memberships_helper.rb
bullet_train-1.0.26 app/helpers/account/memberships_helper.rb
bullet_train-1.0.25 app/helpers/account/memberships_helper.rb
bullet_train-1.0.24 app/helpers/account/memberships_helper.rb
bullet_train-1.0.23 app/helpers/account/memberships_helper.rb
bullet_train-1.0.22 app/helpers/account/memberships_helper.rb
bullet_train-1.0.21 app/helpers/account/memberships_helper.rb
bullet_train-1.0.20 app/helpers/account/memberships_helper.rb