Module: Volt::CollectionHelpers
- Included in:
- ModelController, Task
- Defined in:
- lib/volt/controllers/collection_helpers.rb
Instance Method Summary collapse
- #channel ⇒ Object
- #cookies ⇒ Object
- #flash ⇒ Object
- #local_store ⇒ Object
- #page ⇒ Object
- #params ⇒ Object
- #store ⇒ Object
- #tasks ⇒ Object
- #url ⇒ Object
- #url_for(params) ⇒ Object
- #url_with(params) ⇒ Object
Instance Method Details
#channel ⇒ Object
41 42 43 |
# File 'lib/volt/controllers/collection_helpers.rb', line 41 def channel Volt.current_app.channel end |
#cookies ⇒ Object
37 38 39 |
# File 'lib/volt/controllers/collection_helpers.rb', line 37 def Volt.current_app. end |
#flash ⇒ Object
25 26 27 |
# File 'lib/volt/controllers/collection_helpers.rb', line 25 def flash Volt.current_app.flash end |
#local_store ⇒ Object
33 34 35 |
# File 'lib/volt/controllers/collection_helpers.rb', line 33 def local_store Volt.current_app.local_store end |
#page ⇒ Object
21 22 23 |
# File 'lib/volt/controllers/collection_helpers.rb', line 21 def page Volt.current_app.page end |
#params ⇒ Object
29 30 31 |
# File 'lib/volt/controllers/collection_helpers.rb', line 29 def params Volt.current_app.params end |
#store ⇒ Object
17 18 19 |
# File 'lib/volt/controllers/collection_helpers.rb', line 17 def store Volt.current_app.store end |
#tasks ⇒ Object
45 46 47 |
# File 'lib/volt/controllers/collection_helpers.rb', line 45 def tasks Volt.current_app.tasks end |
#url ⇒ Object
5 6 7 |
# File 'lib/volt/controllers/collection_helpers.rb', line 5 def url Volt.current_app.url end |
#url_for(params) ⇒ Object
9 10 11 |
# File 'lib/volt/controllers/collection_helpers.rb', line 9 def url_for(params) Volt.current_app.url.url_for(params) end |
#url_with(params) ⇒ Object
13 14 15 |
# File 'lib/volt/controllers/collection_helpers.rb', line 13 def url_with(params) Volt.current_app.url.url_with(params) end |