Commit 66f204e0 authored by's avatar
Browse files

get the logic right :X

parent ef4ba8d3
......@@ -29,7 +29,7 @@ def edit
def impersonate
if !can?(user, :log_in)
if can?(user, :log_in)
session[:impersonator_id] =
warden.set_user(user, scope: :user)
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