mirror of
https://github.com/we-promise/sure.git
synced 2026-04-20 04:24:06 +00:00
Enable syncing all accounts in one click (#948)
* Enable syncing all accounts on one click * Remove argument to sync_later method call * Add partial for sync all accounts button * Redirect back if possible when syncing all accounts
This commit is contained in:
@@ -65,5 +65,8 @@ en:
|
||||
new: New account
|
||||
sync:
|
||||
success: Account sync started
|
||||
sync_all:
|
||||
no_accounts_to_sync: No accounts were eligible for syncing.
|
||||
success: Successfully queued %{count} accounts for syncing.
|
||||
update:
|
||||
success: Account updated
|
||||
|
||||
@@ -63,6 +63,7 @@ Rails.application.routes.draw do
|
||||
collection do
|
||||
get :summary
|
||||
get :list
|
||||
post :sync_all
|
||||
end
|
||||
|
||||
member do
|
||||
|
||||
Reference in New Issue
Block a user