lib/dynamic_menus.rb in dynamic_menus-0.0.7 vs lib/dynamic_menus.rb in dynamic_menus-0.0.8
- old
+ new
@@ -143,7 +143,7 @@
return @connects
end
end
def _(str, args = {})
- return t(str, *args, args.merge(:default => str))
+ return I18n.t(str, *args, args.merge(:default => str))
end
\ No newline at end of file