changeset 439:e8f159807413

Wrong helper name
author nanaya <me@myconan.net>
date Sat, 02 Jul 2016 17:26:15 +0900
parents a5eae5b07abf
children f4612faedb9e
files app/helpers/pastes_helper.rb
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/app/helpers/pastes_helper.rb	Sat Jul 02 17:18:07 2016 +0900
+++ b/app/helpers/pastes_helper.rb	Sat Jul 02 17:26:15 2016 +0900
@@ -3,7 +3,7 @@
     if @paste.errors.any?
       "Failed"
     else
-      url = with_url paste_path(@paste)
+      url = with_host paste_path(@paste)
       if @fresh
         "#{url} (key: #{@paste.key})"
       else