lib/scrivito/routing_helper.rb in scrivito_sdk-0.30.0.rc1 vs lib/scrivito/routing_helper.rb in scrivito_sdk-0.30.0
- old
+ new
@@ -10,11 +10,11 @@
#
# Returns the (URL-)path for a cms object.
#
# @api public
#
- # @param target [Obj, Link, Array<Link>]
+ # @param target [Obj, Link, Array<Link>, Binary]
# If +target+ is an +Array+ of +Links+, it must be non-empty.
# The first {Link} from the +Array+ will be used.
# @param options [Hash] include url settings such as path parameters or protocol.
#
# @return [String]
@@ -26,10 +26,10 @@
#
# Returns the absolute URL for a cms object.
#
# @api public
#
- # @param target [Obj, Link, Array<Link>]
+ # @param target [Obj, Link, Array<Link>, Binary]
# If +target+ is an +Array+ of +Links+, it must be non-empty.
# The first {Link} from the +Array+ will be used.
# @param options [Hash] include url settings such as path parameters or protocol.
#
# @return [String]