Started working on the QBO index page

This commit is contained in:
2016-01-04 22:37:06 -05:00
parent 8a28b12323
commit 515e7fb691
3 changed files with 14 additions and 4 deletions

View File

@@ -22,8 +22,11 @@ class QboController < ApplicationController
:access_token_path => "/oauth/v1/get_access_token"
})
#
# Called when the QBO Top Menu us shown
#
def index
@qbo_customer_count = QboCustomers.count
end
#
@@ -82,6 +85,6 @@ class QboController < ApplicationController
}
end
redirect_to plugin_settings_path(:redmine_qbo), :flash => { :notice => "Successfully synced to Quickbooks" }
redirect_to qbo_path(:redmine_qbo), :flash => { :notice => "Successfully synced to Quickbooks" }
end
end