Skip to content

Commit

Permalink
Update currency name
Browse files Browse the repository at this point in the history
  • Loading branch information
amit177 authored May 16, 2018
1 parent 3c401e2 commit a6abbf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/signatures_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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} }
Expand Down

0 comments on commit a6abbf4

Please sign in to comment.