Update init.rb

This commit is contained in:
2016-04-27 08:01:05 -04:00
parent c251dc8407
commit 70d7b65741

View File

@@ -41,6 +41,9 @@ Redmine::Plugin.register :redmine_qbo do
# We are playing in the sandbox
#Quickbooks.sandbox_mode = true
# set per_page globally
WillPaginate.per_page = 10
# Register QBO top menu item
menu :top_menu, :qbo, { :controller => :qbo, :action => :index }, :caption => 'Quickbooks', :if => Proc.new { User.current.admin? }