Merge pull request #1108 from basecamp/etag-session
Tie etag to sessions
This commit is contained in:
@@ -8,6 +8,8 @@ module Authentication
|
||||
before_action :require_authentication
|
||||
helper_method :authenticated?
|
||||
|
||||
etag { Current.session.id if authenticated? }
|
||||
|
||||
include LoginHelper
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user