lib/couch/actions/routes.rb in couch-0.1.2 vs lib/couch/actions/routes.rb in couch-0.2.0
- old
+ new
@@ -8,17 +8,17 @@
Dir.glob(File.join(destination_root, "_attachments/*.html")).each do |file|
say ' %s' % attachment_url(file)
end
say 'Lists:'
- Dir.glob(File.join(destination_root, "lists/*.js")).each do |list|
+ Dir.glob(File.join(destination_root, "lists/*")).each do |list|
Dir.glob(File.join(destination_root, "views/*")).each do |view|
say ' %s' % list_url(list, view)
end
end
say 'Shows:'
- Dir.glob(File.join(destination_root, "shows/*.js")).each do |show|
+ Dir.glob(File.join(destination_root, "shows/*")).each do |show|
say ' %s' % show_url(show)
say ' %s' % show_url(show, '/:id')
end
end