mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Convert a lot of :a => b to a: b and bring peace to the world
This commit is contained in:
@@ -21,7 +21,7 @@ module CurrentUser
|
||||
end
|
||||
|
||||
def set_permanent_cookie!(user)
|
||||
cookies.permanent["_t"] = { :value => user.auth_token, :httponly => true }
|
||||
cookies.permanent["_t"] = { value: user.auth_token, httponly: true }
|
||||
end
|
||||
|
||||
def current_user
|
||||
|
||||
Reference in New Issue
Block a user