Using rails_admin with rails_api

后端 未结 3 2172
鱼传尺愫
鱼传尺愫 2021-02-14 16:54

I originally posted this as an issue on rails_api GitHub, but am now posting it here due to inactivity.

I\'m trying to use rails_admin with a Rails 5 API ap

3条回答
  •  孤城傲影
    2021-02-14 17:29

    As of v1.0.0 (released September 2016), Rails Admin now supports Rails 5 API-mode straight out-of-the-box. The gem itself injects the missing middleware to render its views and there is no extra configuration required.

    Links:

    • Using Rails Admin with Rails 5 API application
    • CHANGELOG

提交回复
热议问题