From 39a64217a949cf86d16fbe78a3f7a45847494d72 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Tue, 10 Nov 2015 19:40:15 -0200 Subject: [PATCH] Remove bogus duplicated code --- Rakefile | 17 ----------------- 1 file changed, 0 insertions(+), 17 deletions(-) diff --git a/Rakefile b/Rakefile index 625c3f3..5d8df4a 100644 --- a/Rakefile +++ b/Rakefile @@ -33,20 +33,3 @@ task :grape_routes => :environment do puts " #{method} #{path}" end end - -# plugins' tasks -plugins_tasks = Dir.glob("config/plugins/*/{tasks,lib/tasks,rails/tasks}/**/*.rake").sort + - Dir.glob("config/plugins/*/vendor/plugins/*/{tasks,lib/tasks,rails/tasks}/**/*.rake").sort -plugins_tasks.each{ |ext| load ext } - - -desc "Print out grape routes" -task :grape_routes => :environment do - #require 'api/api.rb' - Noosfero::API::API.routes.each do |route| - puts route - method = route.route_method - path = route.route_path - puts " #{method} #{path}" - end -end -- libgit2 0.21.2