Sha256: 84be8211d9a034d057398b2400f901dabd24b003a01282a493b8d777bfa033d5

Contents?: true

Size: 218 Bytes

Versions: 1

Compression:

Stored size: 218 Bytes

Contents

class <%= class_name %>Controller < ApplicationController

  def index
    @grid = <%= class_name %>Grid.new(params[:<%= (class_name + "Grid").underscore %>])
    @assets = @grid.assets.page(params[:page])
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
datagrid-0.8.0 template/controller.rb.erb