aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/account.rb
diff options
context:
space:
mode:
authorrhenium <rhenium@rhe.jp>2014-07-18 07:07:00 +0900
committerrhenium <rhenium@rhe.jp>2014-07-18 07:07:00 +0900
commite3bb22385b0b9256fec616e62440f6e2fe7c2096 (patch)
tree516748969a88297f39f8480d970a4b306dc14a62 /app/models/account.rb
parent8de67b1c4884bc3b5ead576ecffe923a786cfb40 (diff)
downloadaclog-e3bb22385b0b9256fec616e62440f6e2fe7c2096.tar.gz
web: fix sessions#create
Diffstat (limited to 'app/models/account.rb')
-rw-r--r--app/models/account.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/account.rb b/app/models/account.rb
index 17a5296..7631160 100644
--- a/app/models/account.rb
+++ b/app/models/account.rb
@@ -22,6 +22,7 @@ class Account < ActiveRecord::Base
account.oauth_token_secret = hash[:oauth_token_secret]
account.status = :active
account.save! if account.changed?
+ account
end
# Returns a random active account.