mirror of
https://github.com/wezm/wezm.net.git
synced 2024-11-10 01:42:32 +00:00
Read Short URL from item
This commit is contained in:
parent
952107cf43
commit
d15d7cb2c6
1 changed files with 1 additions and 2 deletions
|
@ -9,7 +9,6 @@
|
||||||
</abbr>
|
</abbr>
|
||||||
</div>
|
</div>
|
||||||
<%= yield %>
|
<%= yield %>
|
||||||
<% short = short_url("http://www.wezm.net#{@item.identifier}") %>
|
|
||||||
<div id="respond">
|
<div id="respond">
|
||||||
<h2>Got Something to Add?</h2>
|
<h2>Got Something to Add?</h2>
|
||||||
<p>Contact me by email or Twitter if you have a comment, correction or just want to get in touch.</p>
|
<p>Contact me by email or Twitter if you have a comment, correction or just want to get in touch.</p>
|
||||||
|
@ -57,6 +56,6 @@
|
||||||
</script>
|
</script>
|
||||||
<script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"></script>
|
<script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"></script>
|
||||||
</li>
|
</li>
|
||||||
<li>Short URL: <a href="<%= short %>"><%= short %></a></li>
|
<li>Short URL: <a href="<%= @item[:short_url] %>"><%= @item[:short_url] %></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue