5 lines
132 B
Ruby
5 lines
132 B
Ruby
module ProjectsHelper
|
|
def all_projects
|
|
@items.find_all('/projects/*').sort_by{|project| -(project[:priority] || 0)}
|
|
end
|
|
end
|