mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 17:37:17 +02:00
parent
be057656e8
commit
ed3ec0a82e
2 changed files with 0 additions and 8 deletions
|
@ -65,13 +65,6 @@ class ApplicationController < ActionController::Base
|
|||
user_log_str(current_user)
|
||||
end
|
||||
|
||||
def depp_current_user
|
||||
@depp_current_user ||= Depp::User.new(
|
||||
tag: current_user.username,
|
||||
password: current_user.password
|
||||
)
|
||||
end
|
||||
|
||||
def user_log_str(user)
|
||||
user.nil? ? 'public' : user.id_role_username
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue