Module: RailsBootstrapHelpers::Helpers::UrlHelper
- Defined in:
- lib/rails-bootstrap-helpers/helpers/url_helper.rb
Instance Method Summary collapse
-
#action_link_to(*args, &block) ⇒ Object
Renders a Jasny Bootstrap action link.
-
#row_link_to(*args, &block) ⇒ Object
Renders a Jasny Bootstrap row link.
Instance Method Details
#action_link_to(*args, &block) ⇒ Object
Renders a Jasny Bootstrap action link. This method behaves just as “link_to” but will render a Jasny Bootstrap action link instead of a regular link. In addition to the options “link_to” handles, this method also handles the following options:
8 9 10 |
# File 'lib/rails-bootstrap-helpers/helpers/url_helper.rb', line 8 def action_link_to (*args, &block) RailsBootstrapHelpers::Renderers::ActionLinkRenderer.new(self, *args, &block).render end |
#row_link_to(*args, &block) ⇒ Object
Renders a Jasny Bootstrap row link. This method behaves just as “link_to” but will render a Jasny Bootstrap row link instead of a regular link.
14 15 16 |
# File 'lib/rails-bootstrap-helpers/helpers/url_helper.rb', line 14 def row_link_to (*args, &block) RailsBootstrapHelpers::Renderers::RowLinkRenderer.new(self, *args, &block).render end |