Skip to content

Commit

Permalink
Merge pull request #2 from AmiT177/patch-1
Browse files Browse the repository at this point in the history
Update currency name
  • Loading branch information
FreeTrade authored May 19, 2018
2 parents 3c401e2 + a6abbf4 commit 4180e89
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 4180e89

Please sign in to comment.