Bump depp version

This commit is contained in:
Martin Lensment 2015-03-26 18:02:25 +02:00
parent aa2b46241a
commit d0bffdd5fc
4 changed files with 26 additions and 15 deletions

View file

@ -48,6 +48,13 @@ class ApplicationController < ActionController::Base
end
end
def depp_current_user
@depp_current_user ||= Depp::User.new(
tag: current_user.username,
password: current_user.password
)
end
def api_user_log_str(user)
if user.present?
"#{user.id}-api-#{user.username}"