Sha256: f91cd78e3d75867debb5ec23eda9ec5692ebb1dd7bb34fdc4d30ddfcaf0c06ea

Contents?: true

Size: 202 Bytes

Versions: 20

Compression:

Stored size: 202 Bytes

Contents

class <%= grid_controller_name %> < ApplicationController

  def index
    @grid = <%= grid_class_name %>.new(params[:<%= grid_ivar_name %>])
    @assets = @grid.assets.<%= paginate_code %>
  end

end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
datagrid-1.2.2 templates/controller.rb.erb
datagrid-1.2.1 templates/controller.rb.erb
datagrid-1.2.0 templates/controller.rb.erb
datagrid-1.1.2 templates/controller.rb.erb
datagrid-1.1.1 templates/controller.rb.erb
datagrid-1.1.0 templates/controller.rb.erb
datagrid-1.0.5 templates/controller.rb.erb
datagrid-1.0.4 templates/controller.rb.erb
datagrid-1.0.3 templates/controller.rb.erb
datagrid-1.0.2 templates/controller.rb.erb
datagrid-1.0.1 templates/controller.rb.erb
datagrid-1.0.0 templates/controller.rb.erb
datagrid-0.9.3 templates/controller.rb.erb
datagrid-0.9.2 templates/controller.rb.erb
datagrid-0.9.0 templates/controller.rb.erb
datagrid-0.8.4 templates/controller.rb.erb
datagrid-0.8.3 templates/controller.rb.erb
datagrid-0.8.2 templates/controller.rb.erb
datagrid-0.8.1 templates/controller.rb.erb
datagrid-0.8.0 templates/controller.rb.erb