lib/jets/controller/rendering.rb in jets-2.3.11 vs lib/jets/controller/rendering.rb in jets-2.3.12

- old
+ new

@@ -70,10 +70,11 @@ def url_for(url) add_stage_name(url) end def actual_host - headers["host"] + # actually host is in headers["origin"] when cloudfront is in front + headers["origin"] || headers["host"] end end end