From f6294a64500d9d0fa2b84ac7692203b288124a0e Mon Sep 17 00:00:00 2001 From: rgarcia Date: Mon, 31 Aug 2015 13:32:49 +0200 Subject: [PATCH] hot fixes parsing of beta testers file --- app/controllers/application_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 6714bad15..07876767b 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -42,7 +42,7 @@ class ApplicationController < ActionController::Base end def beta_testers - File.readlines('config/beta-testers.txt').map {|email| email } + File.readlines('config/beta-testers.txt').map {|email| email.strip } end def beta_site?