Open ruebenramirez opened 8 years ago
http://stackoverflow.com/a/37120033
class ApplicationController < ActionController::API include ActionController::HttpAuthentication::Basic::ControllerMethods http_basic_authenticate_with name: "username", password: "passwd123"
http://stackoverflow.com/a/37120033