diff options
| author | Devin <dsylva@gitlab.com> | 2019-04-24 17:56:47 -1000 |
|---|---|---|
| committer | Devin <dsylva@gitlab.com> | 2019-04-24 17:56:47 -1000 |
| commit | 814d8e5d71845088f8d2d2e2423eb8e1c78195d9 (patch) | |
| tree | 41ded80cb9153cc69fcffed0e38cc22b264bfe41 | |
| parent | 0f863c68bb8bc5054a22e0c553a933c83bea4df6 (diff) | |
| download | gitlab-ce-814d8e5d71845088f8d2d2e2423eb8e1c78195d9.tar.gz | |
Using full URL to conform to spec
| -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? |
