diff options
| -rw-r--r-- | app/views/dashboard/issues.atom.builder | 2 | ||||
| -rw-r--r-- | app/views/groups/issues.atom.builder | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/dashboard/issues.atom.builder b/app/views/dashboard/issues.atom.builder index 6034389b897..828c61f7f5a 100644 --- a/app/views/dashboard/issues.atom.builder +++ b/app/views/dashboard/issues.atom.builder @@ -1,6 +1,6 @@ # rubocop: disable CodeReuse/ActiveRecord xml.title "#{current_user.name} issues" -xml.link href: url_for(safe_params), rel: "self", type: "application/atom+xml" +xml.link href: url_for(safe_params.merge(only_path: false)), rel: "self", type: "application/atom+xml" xml.link href: issues_dashboard_url, rel: "alternate", type: "text/html" xml.id issues_dashboard_url xml.updated @issues.first.updated_at.xmlschema if @issues.reorder(nil).any? diff --git a/app/views/groups/issues.atom.builder b/app/views/groups/issues.atom.builder index 2fd96c9d158..61436ef7c9d 100644 --- a/app/views/groups/issues.atom.builder +++ b/app/views/groups/issues.atom.builder @@ -1,6 +1,6 @@ # rubocop: disable CodeReuse/ActiveRecord xml.title "#{@group.name} issues" -xml.link href: url_for(safe_params), rel: "self", type: "application/atom+xml" +xml.link href: url_for(safe_params.merge(only_path: false)), rel: "self", type: "application/atom+xml" xml.link href: issues_group_url, rel: "alternate", type: "text/html" xml.id issues_group_url xml.updated @issues.first.updated_at.xmlschema if @issues.reorder(nil).any? |
