app/assets/javascripts/ultimate/helpers/url.js.coffee in ultimate-base-0.3.4.0 vs app/assets/javascripts/ultimate/helpers/url.js.coffee in ultimate-base-0.3.5.0

- old
+ new

@@ -121,10 +121,10 @@ _link_to_remote_options: (options) -> _.isObject(options) and _.outcasts.delete(options, 'remote') _add_method_to_attributes: (html_options, method) -> if _.isString(method) and method.toLowerCase() isnt 'get' and not /nofollow/.test(html_options['rel']) - html_options['rel'] = _.string.lstrip("#{html_options['rel']} nofollow") + html_options['rel'] = Ultimate.Helpers.Tag.concat_class(html_options['rel'], 'nofollow') html_options['data-method'] = method _convert_boolean_attributes: (html_options, bool_attrs) -> html_options[x] = x for x in bool_attrs when _.outcasts.delete(html_options, x) html_options