lib/ab_admin/utils.rb in ab_admin-0.3.5 vs lib/ab_admin/utils.rb in ab_admin-0.3.6

- old
+ new

@@ -47,9 +47,11 @@ def l_path(locale=nil) return '' unless locale locale == I18n.default_locale ? '' : "/#{locale}" end + alias :locale_path :l_path + def rss_text(raw_html) Rack::Utils.escape_html(raw_html.no_html.squish) end #AbAdmin.normalize_html('<!--das asd as as as--><script>asd</script><div>dasd</div><p>asdasd</p>') \ No newline at end of file