lib/simple_navigation/adapters/padrino.rb in simple-navigation-3.10.0 vs lib/simple_navigation/adapters/padrino.rb in simple-navigation-3.10.1
- old
+ new
@@ -6,14 +6,14 @@
SimpleNavigation.set_env(PADRINO_ROOT, PADRINO_ENV)
::Padrino::Application.send(:helpers, SimpleNavigation::Helpers)
end
def link_to(name, url, options={})
- context.link_to name, url, options
+ context.link_to(name, url, options)
end
def content_tag(type, content, options={})
- context.content_tag type, content, options
+ context.content_tag(type, content.html_safe, options)
end
end
end
end
\ No newline at end of file