Remove unused method

#660
This commit is contained in:
Artur Beljajev 2018-01-22 15:02:47 +02:00
parent be057656e8
commit ed3ec0a82e
2 changed files with 0 additions and 8 deletions

View file

@ -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

View file

@ -441,7 +441,6 @@
<text text-anchor="start" x="-471.5" y="-625.3" font-family="Times,serif" font-size="14.00">after_sign_out_path_for</text>
<text text-anchor="start" x="-471.5" y="-610.3" font-family="Times,serif" font-size="14.00">api_user_log_str</text>
<text text-anchor="start" x="-471.5" y="-595.3" font-family="Times,serif" font-size="14.00">current_root_url</text>
<text text-anchor="start" x="-471.5" y="-580.3" font-family="Times,serif" font-size="14.00">depp_current_user</text>
<text text-anchor="start" x="-471.5" y="-565.3" font-family="Times,serif" font-size="14.00">registrant_request?</text>
<text text-anchor="start" x="-471.5" y="-550.3" font-family="Times,serif" font-size="14.00">registrar_request?</text>
<text text-anchor="start" x="-471.5" y="-535.3" font-family="Times,serif" font-size="14.00">user_for_paper_trail</text>

Before

Width:  |  Height:  |  Size: 67 KiB

After

Width:  |  Height:  |  Size: 67 KiB

Before After
Before After