From a6abbf469cceec8cf332b0eb2f994330cb37a259 Mon Sep 17 00:00:00 2001 From: AmiT177 <8685831+AmiT177@users.noreply.github.com> Date: Wed, 16 May 2018 23:02:27 +0300 Subject: [PATCH] Update currency name --- app/controllers/signatures_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/signatures_controller.rb b/app/controllers/signatures_controller.rb index 9d6e849..886759e 100644 --- a/app/controllers/signatures_controller.rb +++ b/app/controllers/signatures_controller.rb @@ -12,7 +12,7 @@ def create @argument.update_validity # redirect_to [@argument], notice: "Your vote of #{@signature.bitcoin_address.balance} is accepted" # format.html { redirect_to [@argument, @signature], notice: 'Signature was successfully created.' } - flash[:notice] = "Your vote of #{@signature.bitcoin_address.balance/1e8} btc is accepted!" + flash[:notice] = "Your vote of #{@signature.bitcoin_address.balance/1e8} HOdl is accepted!" flash.keep(:notice) url = argument_url(@argument.id) + (@signature.negation ? "?doubt=1" : "") format.js { render :create, :locals => {redirection_url: url, exception: nil} }