lib/servel/templates/index.haml in servel-0.5.0 vs lib/servel/templates/index.haml in servel-0.6.0
- old
+ new
@@ -12,8 +12,8 @@
#{include('gallery.css')}
:javascript
#{include('gallery.js')}
%body
- - if files.any? { |f| decorate(f).media? }
+ - if files.any? { |f| f.media? }
#gallery!= partial('gallery')
#listing!= partial('listing', { url_root: url_root, url_path: url_path, directories: directories, files: files })
\ No newline at end of file