You can use Favicon Rails helper:
<%= favicon_link_tag %>
Or if you want another image than favicon.ico
<%= favicon_link_tag 'another_image.ico' %>
More Related Contents:
- How to HTML encode/escape a string? Is there a built-in?
- Form is submitted when I click on the button in form. How to avoid this?
- How do I set the HTML options for collection_select in Rails?
- Why is the first element always blank in my Rails multi-select, using an embedded array?
- What does #/ means in url?
- Ruby on Rails: how to render a string as HTML?
- Change Select List Option background colour on hover
- How to center elements on the last row in CSS Grid?
- How do I escape ampersands in XML so they are rendered as entities in HTML?
- Is there an equivalent to background-size: cover and contain for image elements?
- Using margin:auto to vertically-align a div
- Displaying unicode symbols in HTML
- Responsive CSS Trapezoid Shape
- Why cannot change checkbox color whatever I do? [duplicate]
- Using HTML in jQuery UI autocomplete
- How to select a radio button by default? [duplicate]
- Do HTTP POST methods send data as a QueryString?
- Input type=password, don’t let browser remember the password
- Is it OK to use unknown HTML tags?
- Align the form to the center in Bootstrap 4 [duplicate]
- CSS for changing color of last word in h1
- Can websocket messages arrive out-of-order?
- How to have two items on opposite sides on the same line
- How can I wrap my markdown in an HTML div?
- HTML maxlength attribute not working on chrome and safari?
- How to make text vertically and horizontally center in an HTML page
- Increase cursor size in HTML body
- Making youtube.com/embed URLs work on iOS
- after pseudo element not appearing in code
- SVG animation delay on each repetition