Sha256: 71b1fe4ffd163af1984b093a2d51ee502a969ea81f2e01b8826ac6e81aebf4c4
Contents?: true
Size: 809 Bytes
Versions: 24
Compression:
Stored size: 809 Bytes
Contents
# Collection helpers provide methods to access methods of page directly. # @page is expected to be defined and a Volt::Page module Volt module CollectionHelpers def url Volt.current_app.url end def url_for(params) Volt.current_app.url.url_for(params) end def url_with(params) Volt.current_app.url.url_with(params) end def store Volt.current_app.store end def page Volt.current_app.page end def flash Volt.current_app.flash end def params Volt.current_app.params end def local_store Volt.current_app.local_store end def cookies Volt.current_app.cookies end def channel Volt.current_app.channel end def tasks Volt.current_app.tasks end end end
Version data entries
24 entries across 24 versions & 1 rubygems