mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 08:54:23 -05:00
Added allowed params for qbo controller
This commit is contained in:
@@ -18,6 +18,10 @@ class QboController < ApplicationController
|
||||
before_action :require_user, :except => :qbo_webhook
|
||||
skip_before_action :verify_authenticity_token, :check_if_login_required, :only => [:qbo_webhook]
|
||||
|
||||
def allowed_params
|
||||
params.permit(:code, :state, :realmId, :id)
|
||||
end
|
||||
|
||||
#
|
||||
# Called when the QBO Top Menu us shown
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user