%br
%br
%h1 All Snap! Courses
%br
-if flash[:message]
    %h3= flash[:message]

-@courses do |course|
    =link_to course.title, course_show_path(course)
    %br
%br
%br
%h1 All Snap! Courses
%br
-if flash[:message]
    %h3= flash[:message]

-@courses.each do |course|
    =link_to course.title, course_show_path(course)
    %br
Fix iteration error for courses
Fix iteration error for courses
