Skip to content
Snippets Groups Projects
Commit 0ab98a8a authored by Douwe Maan's avatar Douwe Maan
Browse files

Remove unused method

parent b992e252
No related branches found
No related tags found
No related merge requests found
Loading
@@ -14,10 +14,6 @@ class Admin::ImpersonationsController < Admin::ApplicationController
Loading
@@ -14,10 +14,6 @@ class Admin::ImpersonationsController < Admin::ApplicationController
   
private private
   
def user
@user ||= User.find(params[:id])
end
def impersonator def impersonator
@impersonator ||= User.find(session[:impersonator_id]) if session[:impersonator_id] @impersonator ||= User.find(session[:impersonator_id]) if session[:impersonator_id]
end end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment