Sha256: 0b61e83e9c3557171102ee46752d72acd839b5e62984bc60bded587e612e9391

Contents?: true

Size: 196 Bytes

Versions: 4

Compression:

Stored size: 196 Bytes

Contents

 desc "API Routes"
 task routes: :environment do
   API::Base.routes.each do |api|
     method = api.request_method.ljust(10)
     path   = api.path
     puts "     #{method} #{path}"
   end
 end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
grapethor-0.2.3 lib/grapethor/templates/new/lib/tasks/routes.rake
grapethor-0.2.2 lib/grapethor/templates/new/lib/tasks/routes.rake
grapethor-0.2.1 lib/grapethor/templates/new/lib/tasks/routes.rake
grapethor-0.2.0 lib/grapethor/templates/new/lib/tasks/routes.rake