Fix budget investments chart in admin stats

The JavaScript required to display the chart wasn't loaded on the admin
stats page.

We're not adding a test because we're going to move the budgets graph to
a different page on the pull request containing this commit.

Note we're changing the "Go back" link, since using a turbolinks refresh
broke this link when using the Chromium browser. Besides, there was an
inconsistency where some of the "Go back" links in admin stats pointed
to the admin stats page but other links pointed to `:back`.
This commit is contained in:
Javi Martín
2024-04-24 16:49:05 +02:00
parent 1d11fa93d1
commit 772be11525
7 changed files with 25 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
<%= back_link_to %>
<%= back_link_to admin_stats_path %>
<%= header %>