Auto_discover_link_tag ignores url_options

Hey Everyone,

I was adding an atom feed to a rails application and noticed something:

According to the docs

auto_discovery_link_tag(:atom, {controller: "home", action:


Should return

<link rel="alternate" type="application/atom+xml" title="ATOM"

href=“” />

but I’m getting just the host without the controller or action.

<link href="" rel="alternate" title="ATOM"

type=“application/atom+xml” />

Would anyone mind pointing me in what I might be doing wrong? I also
posted this question on Stack Overflow if you want the rep.

Sunny Juneja