From dca3735ce1cadcc3052b2d4902d87fbcdc14d64f Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Mon, 5 Sep 2016 19:25:32 -0400 Subject: [PATCH] Update customers_controller.rb --- app/controllers/customers_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/customers_controller.rb b/app/controllers/customers_controller.rb index f2c3382..5e89d9f 100644 --- a/app/controllers/customers_controller.rb +++ b/app/controllers/customers_controller.rb @@ -128,7 +128,7 @@ class CustomersController < ApplicationController @time_entry = TimeEntry.new(:issue => @issue, :project => @issue.project) @relation = IssueRelation.new else - render :file => "public/401.html.erb", :status => :unauthorized, :layout =>true + render_403 , :status => :unauthorized, :layout =>true end end