From a52ff3b8604f325e663e09867b0e68cf9c4b3faa Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Wed, 11 Mar 2026 23:50:05 -0400 Subject: [PATCH] fixed sync link --- app/views/line_items/_settings.html.erb | 2 +- config/routes.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/line_items/_settings.html.erb b/app/views/line_items/_settings.html.erb index 7ec7e56..45c7220 100644 --- a/app/views/line_items/_settings.html.erb +++ b/app/views/line_items/_settings.html.erb @@ -3,4 +3,4 @@
<%=t(:label_last_sync)%> <%= Qbo.last_sync if Qbo.exists? %> -<%= link_to t(:label_sync_now), items_sync_path%> \ No newline at end of file +<%= link_to t(:label_sync_now), sync_items_path %> \ No newline at end of file diff --git a/config/routes.rb b/config/routes.rb index 71f8108..5b0bca5 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -11,6 +11,6 @@ resources :items do collection do get :autocomplete - post :sync + get :sync end end \ No newline at end of file