Permalink
Browse files

Typo

  • Loading branch information...
1 parent 1656190 commit 497a2727f8b04fce45bb6240b507e003e5ef253e @oriolgual oriolgual committed May 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/hypermodel/resource.rb
@@ -56,7 +56,7 @@ def embedded
{ _embedded: embedded_resources }
end
- # Private: Returns the url wrapped in a Hash with in a HAL way.
+ # Private: Returns the url wrapped in a Hash in HAL format.
def polymorphic_url(record_or_hash_or_array, options = {})
{ href: @controller.polymorphic_url(record_or_hash_or_array, options = {}) }
end

0 comments on commit 497a272

Please sign in to comment.