Fix bugs in profile views caused by webpacker conversion
This commit is contained in:
parent
1b68d6e04c
commit
c499f8f7a5
4 changed files with 9 additions and 1 deletions
1
app/javascript/packs/page__profiles__fundraisers.js
Normal file
1
app/javascript/packs/page__profiles__fundraisers.js
Normal file
|
@ -0,0 +1 @@
|
|||
require('../legacy/page.js')
|
1
app/javascript/packs/page__profiles__show.js
Normal file
1
app/javascript/packs/page__profiles__show.js
Normal file
|
@ -0,0 +1 @@
|
|||
require('../legacy/page.js')
|
|
@ -3,6 +3,10 @@
|
|||
- Donor Fundraisers (P2P)
|
||||
<% end %>
|
||||
|
||||
<%= content_for :javascripts do %>
|
||||
<%= javascript_pack_tag 'i18n', 'page__profiles__fundraisers'%>
|
||||
<% end %>
|
||||
|
||||
<% content_for(:footer_hidden) {'hidden'} %>
|
||||
|
||||
<% content_for :stylesheets do %>
|
||||
|
|
|
@ -2,7 +2,9 @@
|
|||
<% content_for :title_suffix do %>
|
||||
- Donor Profile
|
||||
<% end %>
|
||||
|
||||
<%= content_for :javascripts do %>
|
||||
<%= javascript_pack_tag 'i18n', 'page__profiles__show'%>
|
||||
<% end %>
|
||||
<% content_for :stylesheets do %>
|
||||
<%= stylesheet_link_tag 'profiles/show/page' %>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in a new issue