socialforge/app/views/users/user_courses.html.erb

11 lines
178 B
Plaintext
Raw Normal View History

2013-09-12 17:19:51 +08:00
<!-- added by fq -->
<%= user_course @state%>
<% if @state == 0%>
<%= render :partial => 'my_course' %>
<% else %>
<%= render :partial => 'my_homework' %>
<% end %>