Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Florian Hanke
committed
Jun 9, 2008
1 parent
84f314d
commit 5433b50
Showing
8 changed files
with
12 additions
and
12 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
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 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,4 +1,4 @@ | ||
%ol.list | ||
- @items.each do |item| | ||
%li | ||
= render :partial => 'cart_item', :locals => { :item => item} | ||
= render :partial => 'cart_item', :locals => { :item => item } |
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,5 @@ | ||
%ol.list | ||
- @items.each do |item| | ||
%li | ||
.item | ||
- presenter = presenter_for item | ||
= presenter.render_as :cart_item | ||
- presenter = presenter_for item | ||
= presenter.render_as :cart_item |
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,2 +1,7 @@ | ||
require 'haml' | ||
begin | ||
require File.join(File.dirname(__FILE__), 'lib', 'haml') # From here | ||
rescue LoadError | ||
require 'haml' # From gem | ||
end | ||
|
||
Haml.init_rails(binding) |
Binary file not shown.
Binary file not shown.
Binary file not shown.