Commit 39a64217a949cf86d16fbe78a3f7a45847494d72
1 parent
90a9d312
Exists in
master
and in
20 other branches
Remove bogus duplicated code
Showing
1 changed file
with
0 additions
and
17 deletions
Show diff stats
Rakefile
... | ... | @@ -33,20 +33,3 @@ task :grape_routes => :environment do |
33 | 33 | puts " #{method} #{path}" |
34 | 34 | end |
35 | 35 | end |
36 | - | |
37 | -# plugins' tasks | |
38 | -plugins_tasks = Dir.glob("config/plugins/*/{tasks,lib/tasks,rails/tasks}/**/*.rake").sort + | |
39 | - Dir.glob("config/plugins/*/vendor/plugins/*/{tasks,lib/tasks,rails/tasks}/**/*.rake").sort | |
40 | -plugins_tasks.each{ |ext| load ext } | |
41 | - | |
42 | - | |
43 | -desc "Print out grape routes" | |
44 | -task :grape_routes => :environment do | |
45 | - #require 'api/api.rb' | |
46 | - Noosfero::API::API.routes.each do |route| | |
47 | - puts route | |
48 | - method = route.route_method | |
49 | - path = route.route_path | |
50 | - puts " #{method} #{path}" | |
51 | - end | |
52 | -end | ... | ... |