How can I customize the active admin layout?

后端 未结 5 1160
梦如初夏
梦如初夏 2021-01-31 09:42

I need to customize the active admin layout, but how can I do it?

5条回答
  •  渐次进展
    2021-01-31 10:44

    When a view is defined in a gem AND in the rails app, the one defined in the Rails app is served. It's a logic priority.

    So if you need to override all or some active admin views, you'll have to copy these in your app and change them as you desire.

提交回复
热议问题