Browse files

Fixed typo, now routes should be gentrated right

  • Loading branch information...
1 parent bd6f6dc commit 433ae57cda88ce7d2cf31e4b653ba1ed5e10ebbe Leon Dewey committed Jul 15, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/api_canon/swagger/api_declaration.rb
View
2 lib/api_canon/swagger/api_declaration.rb
@@ -20,7 +20,7 @@ def path
}
object.params.keys.each do |name|
- url_params[name] = '{name}' unless name == :format
+ url_params[name] = "{#{name}}" unless name == :format
end
url = URI.unescape url_for(url_params)

0 comments on commit 433ae57

Please sign in to comment.