diff options
author | Azul <azul@leap.se> | 2013-09-18 10:26:23 +0200 |
---|---|---|
committer | Azul <azul@leap.se> | 2013-09-18 10:27:19 +0200 |
commit | 3ca376a4070428c862c9db48cba25c3d307955ea (patch) | |
tree | cff922632b3ad5983ff07d1eb77648b6f5a8b84f /users/app/controllers/v1/users_controller.rb | |
parent | 22e6f781caec701a4d041e0ac183df4c955e89c2 (diff) |
user.account shortcut to Account.new(user)
Diffstat (limited to 'users/app/controllers/v1/users_controller.rb')
-rw-r--r-- | users/app/controllers/v1/users_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/users/app/controllers/v1/users_controller.rb b/users/app/controllers/v1/users_controller.rb index 01a1a2f..03a5a62 100644 --- a/users/app/controllers/v1/users_controller.rb +++ b/users/app/controllers/v1/users_controller.rb @@ -31,7 +31,7 @@ module V1 protected def account - Account.new(@user) + @user.account end end |