Sha256: 6470f15cda93420c10732c9e3ea27ecbc3808d76b196ced893ea6f875337fcde

Contents?: true

Size: 253 Bytes

Versions: 4

Compression:

Stored size: 253 Bytes

Contents

desc "Prepends the route map to the top of routes.rb"
task :annotate_routes => :environment do
  annotate_lib = File.expand_path(File.dirname(File.dirname(__FILE__)))
  require "#{annotate_lib}/annotate/annotate_routes"
  AnnotateRoutes.do_annotate
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
annotate-2.5.0 lib/tasks/annotate_routes.rake
annotate-2.5.0.pre3 lib/tasks/annotate_routes.rake
annotate-2.5.0.pre2 lib/tasks/annotate_routes.rake
annotate-2.5.0.pre1 lib/tasks/annotate_routes.rake