From 4a83545892f4a0c08a14a2fb09cfb9ef5cac154e Mon Sep 17 00:00:00 2001 From: Wesley Moore Date: Fri, 23 Jul 2010 13:21:33 +1000 Subject: [PATCH] Don't raise if short_url is missing on a post --- layouts/article.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/article.html b/layouts/article.html index 95952c8..854ba42 100644 --- a/layouts/article.html +++ b/layouts/article.html @@ -51,7 +51,7 @@
  • - <% short = @item[:short_url]; raise "#{item.identifier} does not have a short url" if short.nil? %> + <% short = @item[:short_url] %> " target="_blank">Tweet
  • Short URL: <%= short %>