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.6.32 app/helpers/account/memberships_helper.rb
bullet_train-1.6.31 app/helpers/account/memberships_helper.rb
bullet_train-1.6.30 app/helpers/account/memberships_helper.rb
bullet_train-1.6.29 app/helpers/account/memberships_helper.rb
bullet_train-1.6.28 app/helpers/account/memberships_helper.rb
bullet_train-1.6.27 app/helpers/account/memberships_helper.rb
bullet_train-1.6.26 app/helpers/account/memberships_helper.rb
bullet_train-1.6.25 app/helpers/account/memberships_helper.rb
bullet_train-1.6.24 app/helpers/account/memberships_helper.rb
bullet_train-1.6.23 app/helpers/account/memberships_helper.rb
bullet_train-1.6.22 app/helpers/account/memberships_helper.rb
bullet_train-1.6.21 app/helpers/account/memberships_helper.rb
bullet_train-1.6.20 app/helpers/account/memberships_helper.rb
bullet_train-1.6.19 app/helpers/account/memberships_helper.rb
bullet_train-1.6.18 app/helpers/account/memberships_helper.rb
bullet_train-1.6.17 app/helpers/account/memberships_helper.rb
bullet_train-1.6.16 app/helpers/account/memberships_helper.rb
bullet_train-1.6.15 app/helpers/account/memberships_helper.rb
bullet_train-1.6.14 app/helpers/account/memberships_helper.rb
bullet_train-1.6.13 app/helpers/account/memberships_helper.rb