Module: Phlex::Hanami::ContextHelper
- Includes:
- Hanami::Helpers::AssetsHelper
- Defined in:
- lib/phlex/hanami/context_helper.rb
Instance Method Summary collapse
- #assets ⇒ Object
- #content_for ⇒ Object
- #csrf_token ⇒ Object
- #flash ⇒ Object
- #request ⇒ Object
- #routes ⇒ Object
- #session ⇒ Object
Instance Method Details
#assets ⇒ Object
6 |
# File 'lib/phlex/hanami/context_helper.rb', line 6 def assets(...) = context.assets |
#content_for ⇒ Object
12 |
# File 'lib/phlex/hanami/context_helper.rb', line 12 def content_for(...) = context.content_for |
#csrf_token ⇒ Object
14 |
# File 'lib/phlex/hanami/context_helper.rb', line 14 def csrf_token(...) = context.csrf_token |
#flash ⇒ Object
18 |
# File 'lib/phlex/hanami/context_helper.rb', line 18 def flash(...) = context.flash |
#request ⇒ Object
8 |
# File 'lib/phlex/hanami/context_helper.rb', line 8 def request(...) = context.request |
#routes ⇒ Object
10 |
# File 'lib/phlex/hanami/context_helper.rb', line 10 def routes(...) = context.routes |
#session ⇒ Object
16 |
# File 'lib/phlex/hanami/context_helper.rb', line 16 def session(...) = context.session |