Rearrange scripts on the donate page

This commit is contained in:
Eric Schultz 2019-11-27 14:06:30 -06:00 committed by Eric Schultz
parent 40ace51da1
commit 1cd17aa1e5

View file

@ -7,6 +7,7 @@
<% content_for :javascripts do %>
<%= javascript_pack_tag 'i18n', 'page__nonprofits__donate' %>
<script>
app.referer_url = "<%= @referer %>"
app.campaign = <%= raw (@campaign || {}).to_json %>
@ -23,7 +24,6 @@
I18n.defaultLocale = "<%= I18n.default_locale %>"
I18n.locale = "<%= I18n.locale %>"
</script>
<%= IncludeAsset.js '/client/js/nonprofits/donate/page.js' %>
<% end %>
<% content_for :stylesheets do %>