Skip to content

Commit

Permalink
update rake routes task
Browse files Browse the repository at this point in the history
  • Loading branch information
defp committed Dec 13, 2014
1 parent 4ced2cc commit 931b87a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Rakefile
Expand Up @@ -26,7 +26,9 @@ end

task routes: :environment do
Acme::API.routes.each do |route|
p route
method = route.route_method.ljust(10)
path = route.route_path
puts " #{method} #{path}"
end
end

Expand Down

0 comments on commit 931b87a

Please sign in to comment.