Browse Source

Added HTTP basic auth

master
Adrian Short 12 years ago
parent
commit
ab98447e21
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      app/controllers/feeds_controller.rb

+ 2
- 0
app/controllers/feeds_controller.rb View File

@@ -1,4 +1,6 @@
class FeedsController < ApplicationController class FeedsController < ApplicationController
http_basic_authenticate_with :name => ENV['auth_username'], :password => ENV['auth_password']
# GET /feeds # GET /feeds
# GET /feeds.json # GET /feeds.json
def index def index


Loading…
Cancel
Save