Module: Gotenberg::Helpers::ActionView
- Defined in:
- lib/gotenberg/helpers/action_view.rb
Instance Method Summary collapse
- #gotenberg_image_tag(source, options = {}) ⇒ Object
- #gotenberg_javascript_tag(source, options = {}) ⇒ Object
- #gotenberg_stylesheet_tag(source, options = {}) ⇒ Object
Instance Method Details
#gotenberg_image_tag(source, options = {}) ⇒ Object
4 5 6 |
# File 'lib/gotenberg/helpers/action_view.rb', line 4 def gotenberg_image_tag source, = {} gootenberg_source_tag(source, .merge(tag: 'image')) end |
#gotenberg_javascript_tag(source, options = {}) ⇒ Object
8 9 10 |
# File 'lib/gotenberg/helpers/action_view.rb', line 8 def gotenberg_javascript_tag source, = {} gootenberg_source_tag(source, .merge(tag: 'js')) end |
#gotenberg_stylesheet_tag(source, options = {}) ⇒ Object
12 13 14 |
# File 'lib/gotenberg/helpers/action_view.rb', line 12 def gotenberg_stylesheet_tag source, = {} gootenberg_source_tag(source, .merge(tag: 'css')) end |