From e5a5a337b286321faf2c78b3571bf3adff7adcb7 Mon Sep 17 00:00:00 2001 From: yanxd Date: Mon, 21 Apr 2014 20:05:26 +0800 Subject: [PATCH] format code --- app/controllers/attachments_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/attachments_controller.rb b/app/controllers/attachments_controller.rb index 66b9a282d..20ae191ab 100644 --- a/app/controllers/attachments_controller.rb +++ b/app/controllers/attachments_controller.rb @@ -209,7 +209,7 @@ private end def login_without_softapplication - referer = request.headers["Referer"] + referer = request.headers['Referer'] require_login unless referer =~ /softapplication/ - end + end end