This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
tuxbliki/app/helpers/pages_helper.rb

7 lines
198 B
Ruby
Raw Permalink Normal View History

2008-06-27 00:13:15 -04:00
module Merb
module PagesHelper
def edit_page_link(page)
"<a href='#{url(:page, :id => page.name.gsub(/ /, '_'))}' title='#{h(page.name)}'>#{h(page.name)}</a>"
end
end
end