From b1bc19fb7a929440bb9acb0367d410d8e8a52599 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Thu, 1 Sep 2016 23:23:20 -0400 Subject: [PATCH] Update init.rb --- init.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init.rb b/init.rb index 87b1161..ef15e40 100644 --- a/init.rb +++ b/init.rb @@ -47,6 +47,9 @@ Redmine::Plugin.register :redmine_qbo do # We are playing in the sandbox #Quickbooks.sandbox_mode = true + OAUTH_CONSUMER_SECRET = Setting.plugin_redmine_qbo['settingsOAuthConsumerSecret'] + ActiveUrl::Config.secret = OAUTH_CONSUMER_SECRET + # set per_page globally WillPaginate.per_page = 10