Advertisement
Guest User

Untitled

a guest
Apr 8th, 2013
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.12 KB | None | 0 0
  1. route '/tag/*' do
  2. tagelement = /tag\/(.*)\//.match(item.identifier).captures
  3. "/tag/#{to_slug tagelement[0]}/index.html"
  4. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement