Created
September 7, 2018 13:49
-
-
Save 9876691/b32eb624e13b6115fd22a093929573b7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Bitcoins::Index < BrowserAction | |
get "/bitcoins" do | |
addresses = KeyPairQuery.new.user_id(current_user.id).map { |key_pair| | |
{ key_pair.label, key_pair.public_key, "0" } | |
} | |
render IndexPage, addresses: addresses | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment