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} }