diff --git a/init.rb b/init.rb index 834f954..aa0f9da 100644 --- a/init.rb +++ b/init.rb @@ -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? }