Add RAILS_RELATIVE_URL_ROOT

This commit is contained in:
Seth Call 2021-04-27 12:37:33 -05:00
parent 9f924fee3c
commit bf83538a2d
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
<%= label_tag :customer_ltv, 'Customer LTV : $' %>
<%= best_in_place GenericState.singleton, :customer_ltv, :as => :input, url: "/admin/generic_states/#{GenericState.singleton.id}", place_holder: "---", :ok_button => 'Save', :cancel_button => 'Cancel', classes: 'ac_bip' %>
<%= best_in_place GenericState.singleton, :customer_ltv, :as => :input, url: "#{ENV['RAILS_RELATIVE_URL_ROOT']}/admin/generic_states/#{GenericState.singleton.id}", place_holder: "---", :ok_button => 'Save', :cancel_button => 'Cancel', classes: 'ac_bip' %>
<br />
<br />
<br />