mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 08:54:23 -05:00
Added Quickbooks to the top menu
This commit is contained in:
@@ -11,8 +11,7 @@
|
|||||||
# Plugin's routes
|
# Plugin's routes
|
||||||
# See: http://guides.rubyonrails.org/routing.html
|
# See: http://guides.rubyonrails.org/routing.html
|
||||||
#
|
#
|
||||||
|
get 'qbo', :to=> 'qbo#index'
|
||||||
get 'qbo/authenticate', :to => 'qbo#authenticate'
|
get 'qbo/authenticate', :to => 'qbo#authenticate'
|
||||||
get 'qbo/oauth_callback', :to => 'qbo#oauth_callback'
|
get 'qbo/oauth_callback', :to => 'qbo#oauth_callback'
|
||||||
|
|
||||||
get 'qop/qbo_sync', :to => 'qbo#sync'
|
get 'qop/qbo_sync', :to => 'qbo#sync'
|
||||||
|
|||||||
3
init.rb
3
init.rb
@@ -25,4 +25,7 @@ Redmine::Plugin.register :redmine_qbo do
|
|||||||
|
|
||||||
# We are playing in the sandbox
|
# We are playing in the sandbox
|
||||||
Quickbooks.sandbox_mode = true
|
Quickbooks.sandbox_mode = true
|
||||||
|
|
||||||
|
# Register QBO top menu item
|
||||||
|
menu :top_menu, :qbo, { :controller => 'qbo', :action => 'index' }, :caption => 'Quickbooks'
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user