[openstreetmap/openstreetmap-website] Further refactoring to avoid @user (#1595)
notifications at github.com
Thu Jul 27 09:33:13 UTC 2017
gravitystorm commented on this pull request.
> @@ -47,7 +49,7 @@ def require_user
- @oauth = @user.access_token(OAUTH_KEY) if @user && defined? OAUTH_KEY
+ @oauth = @user.access_token(OAUTH_KEY) if current_user && defined? OAUTH_KEY
Oh dear, I really thought I'd found them all!
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rails-dev