Skip to content
Snippets Groups Projects
Commit 51087f68 authored by Enrique García Cota's avatar Enrique García Cota
Browse files

added rake task for rebuilding the project list

parent 185e9e33
Branches
Tags
No related merge requests found
#-- encoding: UTF-8
namespace :projects do
desc "Rebuilds the project db so it maintains the alphabetical order"
task :rebuild => :environment do
Project.rebuild!
puts "projects list has been rebuilt"
end
end
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment