socialforge/app/views/news/index.html.erb

9 lines
196 B
Plaintext
Raw Normal View History

<% if @project %>
<%= render :partial => 'project_news', locals: {project: @project} %>
<% elsif @course %>
<%= render :partial => 'course_news', locals: {course: @course} %>
<% end %>
2016-01-20 16:24:14 +08:00