Skip to content

Commit

Permalink
removing arrow characters which would cause haml render errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Fitzgerald committed Jul 24, 2010
1 parent 3fa6230 commit e488149
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/views/collection/_document.haml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
- seperator = ""

= succeed ':' do
%code{:class=> "key", :nospace =>"both"}&= "#{key}"
%code{:class=> "key", :nospace =>"both"}= "#{key}"

= succeed seperator do
- if value.is_a? Hash
= partial 'collection/document', :object => value
- else
%code{:class=> "#{determin_style_class_for(value)} value" }&= pretty_print value
%code{:class=> "#{determin_style_class_for(value)} value" }= pretty_print value

- counter += 1
2 changes: 1 addition & 1 deletion app/views/collection/_documents.haml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
%tr
%td{:colspan => 2}
#paging
Previous Page | Next Page
Previous Page | Next Page
%span= "Showing 1-11 of #{@collection.count} Documents"
- @docs.each do |doc|
%tr
Expand Down

0 comments on commit e488149

Please sign in to comment.