Skip to content

Commit

Permalink
replace deprecated AppConfig property :frontend_prefix with :frontend…
Browse files Browse the repository at this point in the history
…_proxy_prefix
  • Loading branch information
tdilauro committed Mar 19, 2019
1 parent 00db70c commit 9db5bb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/views/layout_head.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ end
%>

<% if AppConfig.has_key?(:user_defined_in_basic) %>
<%= javascript_include_tag "#{AppConfig[:frontend_prefix]}assets/user_defined_in_basic.js" %>
<%= javascript_include_tag "#{AppConfig[:frontend_proxy_prefix]}assets/user_defined_in_basic.js" %>

<script>
var fields = <%= ASUtils.to_json(map_user_defined_to_labels(AppConfig[:user_defined_in_basic].fetch(controller.controller_name, []))).html_safe %>;
Expand Down

0 comments on commit 9db5bb8

Please sign in to comment.