Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
removed unused views - mreged and cached some js
- Loading branch information
Andrea Longhi
committed
Feb 3, 2010
1 parent
7e46bad
commit b3d4c16
Showing
5 changed files
with
2 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
-unless @hardware.images.empty? | ||
- content_for :head do | ||
= stylesheet_link_tag 'fancybox-1.2.6' | ||
= javascript_include_tag 'fancybox/jquery.fancybox-1.2.6.pack', 'images_popup' | ||
= javascript_include_tag 'fancybox/jquery.fancybox-1.2.6.pack', 'images_popup', :cache => 'fancybox' | ||
- @hardware.images.each do |image| | ||
= link_to image_tag(image.picture(:thumb), :alt => image.title), image.picture(:normal), :title => image.title |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.