Commit adc0a0b2 authored by Dennis Collinson's avatar Dennis Collinson

don't display iteration of templates

parent 9b8afba9
- templates_dir = Rails.root.join("app", "views", "templates")
= Dir[templates_dir.to_s + "/*.jst"].each do |template|
- Dir[templates_dir.to_s + "/*.jst"].each do |template|
- template_name = File.basename(template, ".jst").gsub("_","-")
%script{:id => "#{template_name}-template", :type => 'text/template'}
!= File.read(templates_dir.join(template))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment