mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 06:21:12 +08:00
Merge pull request #547 from kid0m4n/convert-ruby-1-9-syntax
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