mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 17:04:23 -05:00
Update qbo_controller.rb
This commit is contained in:
@@ -32,7 +32,7 @@ class QboController < ApplicationController
|
|||||||
# Called when the user requests that Redmine to connect to QBO
|
# Called when the user requests that Redmine to connect to QBO
|
||||||
#
|
#
|
||||||
def authenticate
|
def authenticate
|
||||||
callback = request.base_url + qbo_oauth_callback_path
|
callback = qbo_oauth_callback_url
|
||||||
token = Qbo.get_oauth_consumer.get_request_token(:oauth_callback => callback)
|
token = Qbo.get_oauth_consumer.get_request_token(:oauth_callback => callback)
|
||||||
session[:qb_request_token] = token
|
session[:qb_request_token] = token
|
||||||
# If Rails >= 4.1 you need to do this =>
|
# If Rails >= 4.1 you need to do this =>
|
||||||
|
|||||||
Reference in New Issue
Block a user