app/views/c2/reporter/app/show.html.haml in c2-0.1.9 vs app/views/c2/reporter/app/show.html.haml in c2-0.1.10
- old
+ new
@@ -23,10 +23,14 @@
.header
%h3.current= link_to('Locus of Control', '#/')
.body.tree{ 'data-bind' => 'partial: loci#view[menu]'}
= content_for :head do
- = include_javascripts :common, :vertebrae, :reporter_lib, :reporter_templates, :reporter_vertebrae
+ = javascript_include_tag 'c2/common'
+ = javascript_include_tag 'c2/vertebrae'
+ = javascript_include_tag 'c2/reporter_lib'
+ = javascript_include_tag 'c2/reporter_templates'
+ = javascript_include_tag 'c2/reporter_vertebrae'
:javascript
$(function(){
Reporter.init({ loci: #{ @reports.to_json } });
});
\ No newline at end of file