Module: Volt::CollectionHelpers

Included in:
ModelController, Task
Defined in:
lib/volt/controllers/collection_helpers.rb

Instance Method Summary collapse

Instance Method Details

#storeObject



14
15
16
# File 'lib/volt/controllers/collection_helpers.rb', line 14

def store
  @page.store
end

#url_for(params) ⇒ Object



6
7
8
# File 'lib/volt/controllers/collection_helpers.rb', line 6

def url_for(params)
  @page.url.url_for(params)
end

#url_with(params) ⇒ Object



10
11
12
# File 'lib/volt/controllers/collection_helpers.rb', line 10

def url_with(params)
  @page.url.url_with(params)
end