From 480ac12c64b5454562957d77f7c18a46f560a5da Mon Sep 17 00:00:00 2001 From: Eric Date: Fri, 15 May 2020 14:54:32 -0500 Subject: [PATCH] Fix the donations history page due to the webpacker migration --- app/javascript/packs/page__profiles__donations_history.js | 1 + app/views/profiles/donations_history.html.erb | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 app/javascript/packs/page__profiles__donations_history.js diff --git a/app/javascript/packs/page__profiles__donations_history.js b/app/javascript/packs/page__profiles__donations_history.js new file mode 100644 index 00000000..10da02c3 --- /dev/null +++ b/app/javascript/packs/page__profiles__donations_history.js @@ -0,0 +1 @@ +require('../legacy/page.js') \ No newline at end of file diff --git a/app/views/profiles/donations_history.html.erb b/app/views/profiles/donations_history.html.erb index abd4db3e..65d6cc77 100755 --- a/app/views/profiles/donations_history.html.erb +++ b/app/views/profiles/donations_history.html.erb @@ -3,6 +3,10 @@ - Donor Donations <% end %> +<%= content_for :javascripts do %> + <%= javascript_pack_tag 'i18n', 'page__profiles__donations_history'%> +<% end %> + <% content_for(:footer_hidden) {'hidden'} %> <% content_for :stylesheets do %>