# File lib/simple_navigation/adapters/padrino.rb, line 5defself.registerSimpleNavigation.set_env(PADRINO_ROOT, PADRINO_ENV)
::Padrino::Application.send(:helpers, SimpleNavigation::Helpers)
end
Public Instance Methods
content_tag(type, content, options={})click to toggle source
# File lib/simple_navigation/adapters/padrino.rb, line 14defcontent_tag(type, content, options={})
context.content_tagtype, content, optionsend
link_to(name, url, options={})click to toggle source
# File lib/simple_navigation/adapters/padrino.rb, line 10deflink_to(name, url, options={})
context.link_toname, url, optionsend