Module: Jun::ActionView::Helpers::UrlHelper
- Included in:
- Jun::ActionView::Helpers
- Defined in:
- lib/jun/action_view/helpers/url_helper.rb
Instance Method Summary collapse
Instance Method Details
#link_to(title, url, options = {}) ⇒ Object
7 8 9 |
# File 'lib/jun/action_view/helpers/url_helper.rb', line 7 def link_to(title, url, = {}) %Q{<a href="#{url}"#{ "class=\"#{options[:class]}\"" if options[:class] }>#{title}</a>} end |