igorkasyanchuk / rails_performance

Monitor performance of you Rails applications (self-hosted and free)
https://www.railsjazz.com/
MIT License
976 stars 53 forks source link

Add home button link customization #36

Closed d1ceward closed 3 years ago

d1ceward commented 3 years ago

Hi! First of all, thanks for your great work here, this gem is a great self-host alternative to Scout/New relics.

So, this little pull request add the possibility to change the url/path of the home button.

In my case, I need the button to redirect to our backoffice ('/admin') rather than the main app in the root ('/'). I also use the Sidekiq web-ui and it allows us to configure the similar 'Back to the app' button (see: https://github.com/mperham/sidekiq/blob/3330df0ee37cfd3e0cd3ef01e3e66b584b99d488/web/views/_nav.erb#L12)

Hope this is fine 😄

igorkasyanchuk commented 3 years ago

thanks for the contribution, soon I'll release a new version