Before Rails 5, we used to use rails-api to implement APIs. ... Make ApplicationController inherit from ActionController::API instead of ActionController::Base.
確定! 回上一頁