mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-24 15:49:39 +02:00
Fix valuation frame issue (#1162)
This commit is contained in:
parent
eebc07d75e
commit
cb13fd2245
2 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ class Account::ValuationsController < ApplicationController
|
|||
|
||||
if @entry.save
|
||||
@entry.sync_account_later
|
||||
redirect_to account_valuations_path(@account), notice: t(".success")
|
||||
redirect_back_or_to account_valuations_path(@account), notice: t(".success")
|
||||
else
|
||||
flash[:alert] = @entry.errors.full_messages.to_sentence
|
||||
redirect_to account_path(@account)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue