Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rails Admin Customization: embed html view into dashboard

We have removed the dashboard and the history from the rails admin starting page:

enter image description here

Now we want to embed a google analytics page for users to see the dashboards from GA. This page consists of some simple HTML.

QUESTION: How do you embed html pages in the Rails Admin Dashboard.

like image 473
FastSolutions Avatar asked Apr 19 '26 14:04

FastSolutions


1 Answers

The answer was very simple, I needed to create the following file:

views/rails_admin/main/dashboard.html.erb

And this overwrites the standard dashboard, easy as that.

Found the information here

like image 142
FastSolutions Avatar answered Apr 22 '26 04:04

FastSolutions