socialforge/app/views/boards/show.html.erb

7 lines
200 B
Plaintext

<% if @project %>
<%= render :partial => 'project_show', locals: {project: @project} %>
<% elsif @course %>
<%= render :partial => 'course_show', locals: {course: @course} %>
<% end %>