Add RAILS_RELATIVE_URL_ROOT
This commit is contained in:
parent
9f924fee3c
commit
bf83538a2d
|
|
@ -1,4 +1,4 @@
|
||||||
<%= label_tag :customer_ltv, 'Customer LTV : $' %>
|
<%= 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 />
|
||||||
<br />
|
|
||||||
Loading…
Reference in New Issue