snsei has quit [Remote host closed the connection]
<FromGitter>
<elorest> @mkhairi Because layouts are set at the macro level. I.E. compiled in you can’t really do it that way. You could do it per action though by manually specifying the template and the layout.
<FromGitter>
<bartblast> Hi! Does anybody know how to get the request port and/or protocol of the current request? I found this doc: https://docs.amberframework.org/amber/guides/controllers/request-and-response-objects but it looks like the protocol info is not implemented in the Amber Request class. And... the port returns nil. There is a host_with_port method on the Crystal HTTP::Request but it returns host only. Do I miss something?
feepbot has quit [Ping timeout: 268 seconds]
feepbot has joined #amber
feepbot has quit [Ping timeout: 268 seconds]
feepbot has joined #amber
feepbot has quit [Remote host closed the connection]
feepbot has joined #amber
<FromGitter>
<elorest> @ghost~5be9967fd73408ce4faea97f I dont’ think anything has changed on routing. There is a small difference how it handles extensions such as `/listings.json`
<FromGitter>
<elorest> Wha tissu eare you having?
<FromGitter>
<elorest> @bartblast Should definitely be able to tell protocol and ports by just reading your env settings. Try `Amber.settings.port` etc.