From 0bc935d3ddbaf66f0cfaef6d7a86a9cbe62cc120 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Thu, 15 Sep 2016 07:03:54 -0400 Subject: [PATCH] Bug Fix #2 --- app/views/qbo/_settings.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/qbo/_settings.html.erb b/app/views/qbo/_settings.html.erb index c533707..3821a88 100644 --- a/app/views/qbo/_settings.html.erb +++ b/app/views/qbo/_settings.html.erb @@ -103,5 +103,5 @@ Note: You need to authenticate after saving your key and secret above
- Last Sync: <%= Qbo.last_sync %> <%= link_to " Sync Now", qbo_sync_path %> + Last Sync: <%= Qbo.last_sync if Qbo.exists? %> <%= link_to " Sync Now", qbo_sync_path %>