Skip to content
Snippets Groups Projects
Commit ef69ba6f authored by Arnaud Levy's avatar Arnaud Levy
Browse files

fix

parent 4d0330c2
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@ class Ability
end
def initialize(user)
@user ||= User.new # guest user (not logged in)
@user = user ||= User.new # guest user (not logged in)
end
protected
......
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