# Trouble with shortcut icon

**URL:** <https://www.ruby-forum.com/t/trouble-with-shortcut-icon/111023>\
**Category:** Rails\
**Created:** [August 2, 2007, 12:10am UTC](https://www.ruby-forum.com/t/trouble-with-shortcut-icon/111023 "2007-08-02T00:10:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chirag](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/ecccb3/32.png) [@chirag](https://www.ruby-forum.com/u/chirag)\
**Post date:** [August 2, 2007, 12:10am UTC](https://www.ruby-forum.com/t/trouble-with-shortcut-icon/111023/1 "2007-08-02T00:10:33Z")

</div>

I tried the following link to create a shortcut icon for my browser  
tab

I tried putting icon.gif in the same directory as the .rhtml and also  
in the public/images directory and neither works.

I also tried removing the slash as follows, but this only works when I  
load the web page in the browser without going through Rails:

I also tried other variations like this

I’m developing on Windows.

Any ideas?

Thanks! Chirag
