Module: Nexter::Eyecontact
- Defined in:
- lib/nexter/eyecontact.rb
Overview
ViewHelper/ViewBuilder for previous/next out of the van
-
nexter(@asset, @asset_search) do |asset|
link_to “previous”, asset.path([:edit, :admin, asset.previous ])
link_to “next”, asset.path([:edit, :admin, asset.next ])
Instance Method Summary collapse
Instance Method Details
#nexter(model, search_form) {|Nexter::Retina.new(model, search_form, self)| ... } ⇒ Object
10 11 12 13 |
# File 'lib/nexter/eyecontact.rb', line 10 def nexter( model, search_form ) yield Nexter::Retina.new(model, search_form, self) return false end |