Commit 6e9361182749fe9c3def88c2a2aaf3b5ea76bad1

Authored by ivanvr
1 parent d26dabf6
Exists in master and in 1 other branch production

Use relative URLs for atom feed links

app/views/apps/show.html.haml
1 1 - content_for :title, @app.name
2 2 - content_for :head do
3   - = auto_discovery_link_tag :atom, app_url(@app, User.token_authentication_key => current_user.authentication_token, :format => "atom"), :title => "Errbit notices for #{@app.name} at #{root_url}"
  3 + = auto_discovery_link_tag :atom, app_path(@app, User.token_authentication_key => current_user.authentication_token, :format => "atom"), :title => "Errbit notices for #{@app.name} at #{request.host}"
4 4 = javascript_include_tag 'apps.show'
5 5 - content_for :meta do
6 6 %strong Errors Caught:
... ...
app/views/errs/index.html.haml
1 1 - content_for :title, 'Unresolved Errors'
2 2 - content_for :head do
3   - = auto_discovery_link_tag :atom, errs_url(User.token_authentication_key => current_user.authentication_token, :format => "atom"), :title => "Errbit notices at #{root_url}"
  3 + = auto_discovery_link_tag :atom, errs_path(User.token_authentication_key => current_user.authentication_token, :format => "atom"), :title => "Errbit notices at #{request.host}"
4 4 - content_for :action_bar do
5 5 = link_to 'show resolved', all_errs_path, :class => 'button'
6 6 = render 'table', :errs => @problems
... ...