Skip to content

Commit

Permalink
fix login failing with no implicit conversion of Fixnum into String
Browse files Browse the repository at this point in the history
  • Loading branch information
grosser committed May 27, 2016
1 parent ce937c6 commit b567932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/concerns/current_user.rb
Expand Up @@ -28,7 +28,7 @@ def logout!

def login_user
warden.authenticate || unauthorized!
PaperTrail.with_whodunnit(current_user.id) { yield }
PaperTrail.with_whodunnit(current_user.id.to_s) { yield }
end

def warden
Expand Down

0 comments on commit b567932

Please sign in to comment.