lib/world_flags/helper/view.rb in world-flags-0.6.0 vs lib/world_flags/helper/view.rb in world-flags-0.6.1
- old
+ new
@@ -46,10 +46,10 @@
name = args.first.kind_of?(String) ? args.first : WorldFlags.label(code, options)
label = WorldFlags::Helper::View::Util.label_for options
title = WorldFlags::Helper::View::Util.title_for name, options
- content_tag WorldFlags.flag_tag, label.html_safe, WorldFlags::Helper::View::Util.flag_options(code, title, name, options)
+ content_tag WorldFlags.flag_tag, label.html_safe, WorldFlags::Helper::View::Util.flag_options(code, title, name, options)
end
def flag_title code, *args
options = args.extract_options!
name = args.first.kind_of?(String) ? args.first : WorldFlags.label(code, options)
\ No newline at end of file