Update init.rb

This commit is contained in:
2016-09-01 23:23:20 -04:00
committed by GitHub
parent 578258f9e2
commit b1bc19fb7a

View File

@@ -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