mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 03:54:08 +00:00
Basic trade and holdings view (#1271)
* Add trade view * Lint fix * Fix stale placeholder variable * Add holding view
This commit is contained in:
@@ -25,7 +25,7 @@ class Account::EntriesController < ApplicationController
|
||||
def destroy
|
||||
@entry.destroy!
|
||||
@entry.sync_account_later
|
||||
redirect_back_or_to account_url(@entry.account), notice: t(".success")
|
||||
redirect_to account_url(@entry.account), notice: t(".success")
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
Reference in New Issue
Block a user