VRFS-152 a couple of minor code tweaks before closing this ticket out

This commit is contained in:
Jonathan Kolyer 2014-02-10 12:12:03 -06:00
parent ce9c379853
commit 3efe5ab575
2 changed files with 1 additions and 2 deletions

View File

@ -179,7 +179,6 @@
var obj = {
method: 'feed',
link: signupUrl,
// link: signupUrl.replace(/localhost:3000/,'www.jamkazam.com'),
picture: 'http://jamkazam.com/assets/logo.png',
name: 'Join me on JamKazam',
caption: 'Play live music in real-time sessions with others over the Internet, as if in the same room.',

View File

@ -10,7 +10,7 @@ class ApiInvitedUsersController < ApiController
end
def show
if 'facebook' == params[:id]
if InvitedUser::FB_MEDIUM == params[:id]
@invited_user = current_user.facebook_invite!
else
@invited_user = InvitedUser.find(params[:id])