Commit b15c371ebb6cee727ee59b41e7a56bad9b789769

Authored by Victor Costa
1 parent b3c3e70b
Exists in master

Do not show link to voter action

Showing 1 changed file with 1 additions and 2 deletions   Show diff stats
lib/merit/point_rules.rb
... ... @@ -94,8 +94,7 @@ module Merit
94 94 value: lambda {|vote| 1},
95 95 description: _('Voter'),
96 96 default_weight: 10,
97   - target_profile: lambda {|vote| vote.voteable.present? ? vote.voteable.profile : nil },
98   - target_url: lambda {|vote| vote.voteable.url},
  97 + target_profile: lambda {|vote| vote.voteable.present? ? vote.voteable.profile : nil }
99 98 },
100 99 friends: {
101 100 action: 'friendship#create',
... ...