Skip to content

Commit

Permalink
show unfinished projects first
Browse files Browse the repository at this point in the history
  • Loading branch information
devton committed Feb 8, 2012
1 parent 7f8e9dc commit 641c014
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/curated_pages/show.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
.clear
- unless @curated_page.projects.empty?
.curated_project_list
- @curated_page.projects.each do |project|
- @curated_page.projects.order("finished").each do |project|
= render :partial => 'projects/project', :locals => { :project => project, :project_curated_page => project.projects_curated_pages.where(:curated_page_id => @curated_page)}
.clear

0 comments on commit 641c014

Please sign in to comment.