From 593d8e603b232017470e7d45a4b31b690a4761a7 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Wed, 27 Apr 2016 12:34:05 -0400 Subject: [PATCH] Update qbo_controller.rb --- app/controllers/qbo_controller.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/controllers/qbo_controller.rb b/app/controllers/qbo_controller.rb index 6ea94de..c7dae0b 100644 --- a/app/controllers/qbo_controller.rb +++ b/app/controllers/qbo_controller.rb @@ -10,6 +10,10 @@ class QboController < ApplicationController unloadable + + include AuthHelper + + before_filter :require_user # # Called when the QBO Top Menu us shown @@ -75,4 +79,4 @@ class QboController < ApplicationController redirect_to qbo_path(:redmine_qbo), :flash => { :notice => "Successfully synced to Quickbooks" } end -end \ No newline at end of file +end