mirror of
https://github.com/rickbarrette/redmine_qbo_lineitems.git
synced 2026-04-02 07:01:59 -04:00
Updated views for items and accounts
This commit is contained in:
@@ -19,4 +19,9 @@ class AccountsController < ApplicationController
|
||||
account.update(default: true)
|
||||
redirect_to accounts_path, notice: "Default account updated."
|
||||
end
|
||||
|
||||
def sync
|
||||
Account.sync
|
||||
redirect_to :home, flash: { notice: I18n.t(:label_syncing) }
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user