2014-10-28 46 views

回答

34

添加以下ApplicationController

include ActionController::HttpAuthentication::Token::ControllerMethods