changeset 170:05ce14af003a

port can't be part of the id
author nanaya <me@nanaya.pro>
date Wed, 08 Aug 2018 20:19:41 +0900
parents 04ca6c4f11d0
children 90db232f39e7
files app/helpers/application_helper.rb
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/app/helpers/application_helper.rb	Wed Aug 08 20:19:08 2018 +0900
+++ b/app/helpers/application_helper.rb	Wed Aug 08 20:19:41 2018 +0900
@@ -10,7 +10,7 @@
   end
 
   def atom_id(id)
-    "tag:#{request.host_with_port},2005:#{id}"
+    "tag:#{request.host},2005:#{id}"
   end
 
   def expand_url(text, *urls)