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.63 app/helpers/account/memberships_helper.rb
bullet_train-1.0.62 app/helpers/account/memberships_helper.rb
bullet_train-1.0.61 app/helpers/account/memberships_helper.rb
bullet_train-1.0.60 app/helpers/account/memberships_helper.rb
bullet_train-1.0.59 app/helpers/account/memberships_helper.rb
bullet_train-1.0.58 app/helpers/account/memberships_helper.rb
bullet_train-1.0.57 app/helpers/account/memberships_helper.rb
bullet_train-1.0.56 app/helpers/account/memberships_helper.rb
bullet_train-1.0.53 app/helpers/account/memberships_helper.rb
bullet_train-1.0.52 app/helpers/account/memberships_helper.rb
bullet_train-1.0.51 app/helpers/account/memberships_helper.rb
bullet_train-1.0.50 app/helpers/account/memberships_helper.rb
bullet_train-1.0.49 app/helpers/account/memberships_helper.rb
bullet_train-1.0.48 app/helpers/account/memberships_helper.rb
bullet_train-1.0.47 app/helpers/account/memberships_helper.rb
bullet_train-1.0.46 app/helpers/account/memberships_helper.rb
bullet_train-1.0.45 app/helpers/account/memberships_helper.rb
bullet_train-1.0.42 app/helpers/account/memberships_helper.rb
bullet_train-1.0.41 app/helpers/account/memberships_helper.rb
bullet_train-1.0.40 app/helpers/account/memberships_helper.rb