From ab98447e21d25996bc701c87b05fb4e90542a5de Mon Sep 17 00:00:00 2001 From: Adrian Short Date: Thu, 5 Jul 2012 13:10:54 +0100 Subject: [PATCH] Added HTTP basic auth --- app/controllers/feeds_controller.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/controllers/feeds_controller.rb b/app/controllers/feeds_controller.rb index 706d65d..f23d1bb 100644 --- a/app/controllers/feeds_controller.rb +++ b/app/controllers/feeds_controller.rb @@ -1,4 +1,6 @@ class FeedsController < ApplicationController + http_basic_authenticate_with :name => ENV['auth_username'], :password => ENV['auth_password'] + # GET /feeds # GET /feeds.json def index