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