app/assets/javascripts/ultimate/helpers/url.js.coffee in ultimate-base-0.3.2 vs app/assets/javascripts/ultimate/helpers/url.js.coffee in ultimate-base-0.3.2.1

- old
+ new

@@ -33,10 +33,10 @@ html_options = @_convert_options_to_data_attributes(options, html_options) html_options['href'] ||= url if block Ultimate.Helpers.Tag.content_tag('a', html_options, null, false, block) else - Ultimate.Helpers.Tag.content_tag('a', name or url, html_options, false) + Ultimate.Helpers.Tag.content_tag('a', name ? url, html_options, false) link_to_js: (name = null, html_options = null, block = null) -> [options, name] = [name, null] if block = _.outcasts.blockGiven(arguments) @link_to [name, options, html_options, block]...