Module: Phlex::Hanami::AssetsHelper
- Includes:
- Hanami::Helpers::AssetsHelper
- Defined in:
- lib/phlex/hanami/assets_helper.rb
Class Method Summary collapse
Instance Method Summary collapse
- #audio_tag ⇒ Object
- #favicon_tag ⇒ Object
- #image_tag ⇒ Object
- #javascript_tag ⇒ Object
- #stylesheet_tag ⇒ Object
- #video_tag ⇒ Object
Class Method Details
.included(base) ⇒ Object
6 7 8 |
# File 'lib/phlex/hanami/assets_helper.rb', line 6 def self.included(base) base.alias_method :_context, :context end |
Instance Method Details
#audio_tag ⇒ Object
20 |
# File 'lib/phlex/hanami/assets_helper.rb', line 20 def audio_tag(...) = raw(super) |
#favicon_tag ⇒ Object
16 |
# File 'lib/phlex/hanami/assets_helper.rb', line 16 def favicon_tag(...) = raw(super) |
#image_tag ⇒ Object
14 |
# File 'lib/phlex/hanami/assets_helper.rb', line 14 def image_tag(...) = raw(super) |
#javascript_tag ⇒ Object
10 |
# File 'lib/phlex/hanami/assets_helper.rb', line 10 def javascript_tag(...) = raw(super) |
#stylesheet_tag ⇒ Object
12 |
# File 'lib/phlex/hanami/assets_helper.rb', line 12 def stylesheet_tag(...) = raw(super) |
#video_tag ⇒ Object
18 |
# File 'lib/phlex/hanami/assets_helper.rb', line 18 def video_tag(...) = raw(super) |