Fixed a variable name
Well, that's embarrassing.
This commit is contained in:
parent
b541b21456
commit
fd0529021a
1 changed files with 1 additions and 1 deletions
|
@ -307,7 +307,7 @@ module Ebooks
|
||||||
# Updates @user and calls on_user_update.
|
# Updates @user and calls on_user_update.
|
||||||
def update_myself(new_me = twitter.user)
|
def update_myself(new_me = twitter.user)
|
||||||
@user = new_me if @user.nil? || new_me.id == @user.id
|
@user = new_me if @user.nil? || new_me.id == @user.id
|
||||||
@username = user.name
|
@username = user.screen_name
|
||||||
fire(:user_update)
|
fire(:user_update)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue