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.2.21 app/helpers/account/memberships_helper.rb
bullet_train-1.2.20 app/helpers/account/memberships_helper.rb
bullet_train-1.2.19 app/helpers/account/memberships_helper.rb
bullet_train-1.2.18 app/helpers/account/memberships_helper.rb
bullet_train-1.2.17 app/helpers/account/memberships_helper.rb
bullet_train-1.2.16 app/helpers/account/memberships_helper.rb
bullet_train-1.2.15 app/helpers/account/memberships_helper.rb
bullet_train-1.2.14 app/helpers/account/memberships_helper.rb
bullet_train-1.2.13 app/helpers/account/memberships_helper.rb
bullet_train-1.2.12 app/helpers/account/memberships_helper.rb
bullet_train-1.2.11 app/helpers/account/memberships_helper.rb
bullet_train-1.2.10 app/helpers/account/memberships_helper.rb
bullet_train-1.2.9 app/helpers/account/memberships_helper.rb
bullet_train-1.2.8 app/helpers/account/memberships_helper.rb
bullet_train-1.2.7 app/helpers/account/memberships_helper.rb
bullet_train-1.2.6 app/helpers/account/memberships_helper.rb
bullet_train-1.2.5 app/helpers/account/memberships_helper.rb
bullet_train-1.2.4 app/helpers/account/memberships_helper.rb
bullet_train-1.2.3 app/helpers/account/memberships_helper.rb
bullet_train-1.2.2 app/helpers/account/memberships_helper.rb