Commit 0ab98a8a authored by Douwe Maan's avatar Douwe Maan

Remove unused method

parent b992e252
...@@ -14,10 +14,6 @@ class Admin::ImpersonationsController < Admin::ApplicationController ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment