Commit ab0c4dc79123809af9ef4d6200b9ec5a85b7ac2d
1 parent
68e98247
Exists in
master
and in
1 other branch
Add points endpoint
Showing
2 changed files
with
0 additions
and
6 deletions
Show diff stats
lib/gamification_plugin/api.rb
... | ... | @@ -32,11 +32,6 @@ class GamificationPlugin::API < Grape::API |
32 | 32 | authenticate! |
33 | 33 | {:level => current_person.level, :percent => current_person.gamification_plugin_level_percent, :score => current_person.points} |
34 | 34 | end |
35 | - | |
36 | - get 'points' do | |
37 | - authenticate! | |
38 | - {points: current_person.points} | |
39 | - end | |
40 | 35 | end |
41 | 36 | |
42 | 37 | resource :people do | ... | ... |
lib/merit/point_rules.rb