]> cat aescling's git repositories - mastodon.git/commit
Refactor account.rb (#2881)
authoralpaca-tc <alpaca-tc@alpaca.tc>
Sun, 7 May 2017 14:40:57 +0000 (23:40 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Sun, 7 May 2017 14:40:57 +0000 (16:40 +0200)
commitca05bfaac7894285bf9ebbfeebe8c379b94eeb42
tree4bf7da6fbdc038683f80c0ee0f3f730d259efc54
parente4b84c7ba5bc4fa92f97aa8853d07931e460f87a
Refactor account.rb (#2881)

* Call simple query

* Refactor Account#keypair

* Replace escaped single quote

* Extract similar behavior to method

* Gather the same condition to one block

* Remove not needed receiver
app/models/account.rb