diff app/helpers/application_helper.rb @ 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 950849c40d42
children 90db232f39e7
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)