Skip to content

Commit

Permalink
forgot a few tags
Browse files Browse the repository at this point in the history
  • Loading branch information
levicole committed Oct 3, 2009
1 parent 220cda8 commit 51f6c02
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion lib/tour_extension_tags.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,18 @@ module TourExtensionTags
"#{tour_date.country}"
end

end
tag 'tour_dates:each:venue' do |tag|
tour_date = tag.locals.tour_date
"#{tour_date.venue}"
end

tag 'tour_dates:each:date' do |tag|
tour_date = tag.locals.tour_date
"#{tour_date.date.strftime("%B %d, %Y")}"
end

tag 'tour_dates:each:tickets_link' do |tag|
tour_date = tags.locals.tour_date
"#{tour_date.tickets_link}"
end
end

0 comments on commit 51f6c02

Please sign in to comment.