Skip to content
Browse files

set badgeville player by id

  • Loading branch information...
1 parent b2df476 commit 612b64929a1307654547ed1f61ecfaad6900ff7a @jeffdonthemic jeffdonthemic committed
Showing with 1 addition and 3 deletions.
  1. +1 −3 app/views/members/_badgeProfile.html.erb
  2. BIN db/development.sqlite3
View
4 app/views/members/_badgeProfile.html.erb
@@ -16,9 +16,7 @@
Badgeville.crouton = function(){};
Badgeville.Settings.showToast = 0;
- Badgeville.setPlayer({
- email: '<%= @member["Name"].downcase %>@m.cloudspokes.com'
- });
+ BV.setPlayer( '<%= @member["Badgeville_Id__c"] %>' );
Badgeville.bind('afterCreate:showcase', function(event, widget) {
if (widget && widget.element) {
View
BIN db/development.sqlite3
Binary file not shown.

0 comments on commit 612b649

Please sign in to comment.
Something went wrong with that request. Please try again.