[03:00] *** Xliff_ left [06:51] *** summerisle is now known as eof [10:25] is there a simple Cro way to find out the current servers name / protocol being used, to be able to create a full URL referring to a page on the current website? [10:26] yes, I know I can use relative URL's, but if you want to make a function to copy a link to the clipboard, you need the whole thing [10:44] lizmat, in a route handler? [10:45] well, when setting up a hash for a template to be rendered... [11:04] lizmat, you can check `Location` header maybe? [11:04] erm, `Host` that is. [11:05] hmmm... [11:23] sena_kun: I'm guessing we somehow solve this in the link production PR that still needs finishing? [11:29] jnthnwrthngtn, I don't remember if it handles host/protocol bits, but partially. [14:45] *** patrickb joined [17:17] *** Xliff joined [18:57] Hello. I'd like to compile a Cro::WebApp::Template into another Cro::WebApp::Template and then use the last one. What's the best way to go about doing that? [18:58] So ... .crotmp -> .crotmp -> html [19:06] *** sena_kun left [19:06] *** sena_kun joined [19:41] OK, better yet... what's the best way to "compile" a a Cro::WebApp::Template from a scalar? [20:09] *** patrickb left [20:17] Xliff: I think the Cro team was working on being able to make an abstract template repo that you could fill as desired. Don't remember exactly what it was called, but maybe check the #cro logs? [20:18] japhb: Thanks for the info. I think I have what I need in Cro:: [20:18] Cro::WebApp::Template::Repository.parse-template