Skip to content

Instantly share code, notes, and snippets.

@TwP
Created January 8, 2009 23:25
Show Gist options
  • Save TwP/44943 to your computer and use it in GitHub Desktop.
Save TwP/44943 to your computer and use it in GitHub Desktop.
module WikiTrail
def wiki_trail( *args )
links = args.flatten.map do |name|
"> #{link_to_page_unless_current name} <"
end
links.join(" ")
end
end
Webby::Helpers.register WikiTrail
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment