Sha256: f25083660ed4a97061e9abd2a979b745b85b44c4da786a19ed56919f06dac92c

Contents?: true

Size: 100 Bytes

Versions: 34

Compression:

Stored size: 100 Bytes

Contents

  def index
    @<%= plural_name %> = <%= class_name %>.page(params[:search], params[:page]) 
  end

Version data entries

34 entries across 21 versions & 1 rubygems

Version Path
dust-generators-0.2.8 rails_generators/dust_scaffold/templates/actions/index.rb
dust-generators-0.2.8 lib/generators/dust/scaffold/templates/actions/index.rb
dust-generators-0.2.6 rails_generators/dust_scaffold/templates/actions/index.rb
dust-generators-0.2.6 lib/generators/dust/scaffold/templates/actions/index.rb
dust-generators-0.2.5 lib/generators/dust/scaffold/templates/actions/index.rb
dust-generators-0.2.5 rails_generators/dust_scaffold/templates/actions/index.rb
dust-generators-0.2.4 lib/generators/dust/scaffold/templates/actions/index.rb
dust-generators-0.2.4 rails_generators/dust_scaffold/templates/actions/index.rb
dust-generators-0.2.3 rails_generators/dust_scaffold/templates/actions/index.rb
dust-generators-0.2.3 lib/generators/dust/scaffold/templates/actions/index.rb
dust-generators-0.2.2 rails_generators/dust_scaffold/templates/actions/index.rb
dust-generators-0.2.2 lib/generators/dust/scaffold/templates/actions/index.rb
dust-generators-0.2.1 lib/generators/dust/scaffold/templates/actions/index.rb
dust-generators-0.2.1 rails_generators/dust_scaffold/templates/actions/index.rb
dust-generators-0.2.0 rails_generators/dust_scaffold/templates/actions/index.rb
dust-generators-0.2.0 lib/generators/dust/scaffold/templates/actions/index.rb
dust-generators-0.1.9 rails_generators/dust_scaffold/templates/actions/index.rb
dust-generators-0.1.9 lib/generators/dust/scaffold/templates/actions/index.rb
dust-generators-0.1.8 rails_generators/dust_scaffold/templates/actions/index.rb
dust-generators-0.1.8 lib/generators/dust/scaffold/templates/actions/index.rb