3 4 5 6 7 8
# File 'app/controllers/parlez/auth_controller.rb', line 3 def check_authentication authenticate_or_request_with_http_basic 'Parlez!' do |user, pw| user == Parlez::Engine.config.username && pw == Parlez::Engine.config.password end end