SyntaxError in Classified#list
Showing app/views/classified/list.rhtml where line #7 raised:
compile error
/Users/dandiemer/railsapps/railslist/public/../config/../app/views/classified/list.rhtml:7: parse error, unexpected ';'
@classifieds.each.do |c| ; _erbout.concat "\n"
^
/Users/dandiemer/railsapps/railslist/public/../config/../app/views/classified/list.rhtml:13: parse error, unexpected kEND, expecting $
Extracted source (around line #7):
4: These are the current classified ads in our system
5:
6: -
7: <% @classifieds.each.do |c| %>
8:
- <%= link_to c.title, {:action => 'show', :id => c.id} -%> 9: <% end %> 10:
