rails_admin dashboard/secondary_navigation customization

瘦欲@ 提交于 2019-12-23 16:27:34

问题


Any chance to customize dashboard or secondary navigation?

Yes i can create app/view/rails_admin/main/dashboard.html.haml and redesign whole page from scratch. But what should I do if I want just add simple partial before and safe current content?

In case with secondary navigation I tried to replace _secondary_navigation.html.haml in all places where partials could be - nothing happens.


回答1:


app/views/layouts/rails_admin/_secondary_navigation.html.haml

Here is the place were it should live.



来源:https://stackoverflow.com/questions/8942025/rails-admin-dashboard-secondary-navigation-customization

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!