Skip to content

Commit 37056aa

Browse files
author
Jerry Cheung
committed
show version on route
1 parent ac7ef92 commit 37056aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/grape/route.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def method_missing(method_id, *arguments)
1616
end
1717

1818
def to_s
19-
"#{route_method} #{route_path}"
19+
"Version: #{route_version} #{route_method} #{route_path}"
2020
end
2121

2222
end

0 commit comments

Comments
 (0)