# Specify protocol (webcal/https/...) with formatted\_abc\_url()?

**URL:** <https://www.ruby-forum.com/t/specify-protocol-webcal-https-with-formatted-abc-url/136870>\
**Category:** Rails\
**Created:** [May 7, 2008, 12:45am UTC](https://www.ruby-forum.com/t/specify-protocol-webcal-https-with-formatted-abc-url/136870 "2008-05-07T00:45:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![joergbattermann](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/edb3f5/32.png) [@joergbattermann](https://www.ruby-forum.com/u/joergbattermann)\
**Post date:** [May 7, 2008, 12:45am UTC](https://www.ruby-forum.com/t/specify-protocol-webcal-https-with-formatted-abc-url/136870/1 "2008-05-07T00:45:37Z")

</div>

Hello there,

is there a way to specifiy which protocol a  
formatted\_user\_events\_url(@user) uses? I am asking because I have a  
custom format.ics {} declared in a controller and would like to  
specify a different (from the standard http://) protocol…  
specifically webcal:// for that one. Is that possible?

Cheers and thanks,  
-J
