MonoForge

satoko / tinyurl_helper

tinyurl_helper

Public

Returns a tinyurl link

9 filesupdated Jun 18, 2026

README

TinyurlHelper

Create a link tag of the TinyURL created by TinyURL's API with the given URL.

Example

  1. Install TinyurlHelper plugin

./script/plugin install http://svn.s21g.com/public/rails/plugins/tinyurl_helper

  1. Include this helper in application_helper

include TinyurlHelper

  1. And in your view:

<%= link_to_tinyurl "http://www.yahoo.co.jp" %>

Copyright (c) 2008 Satoko Hibi, released under the MIT license