Sha256: d444897b2e7335820568a031481028134af7e63915faada4fc96a407a3c06e2c

Contents?: true

Size: 80 Bytes

Versions: 11

Compression:

Stored size: 80 Bytes

Contents

  def index
    respond_with(@<%= plural_name %> = <%= class_name %>.all)
  end

Version data entries

11 entries across 6 versions & 2 rubygems

Version Path
rspec_rails3_gen-0.2.2 lib/generators/rspec/scaffold/templates/actions/index.rb
rspec_rails3_gen-0.2.2 lib/generators/rspec/controller/templates/actions/index.rb
rspec_rails3_gen-0.2.0 lib/generators/rspec/controller/templates/actions/index.rb
rspec_rails3_gen-0.2.0 lib/generators/rspec/scaffold/templates/actions/index.rb
very_nifty_generators-0.2.1 lib/generators/nifty/controller/templates/actions/index.rb
very_nifty_generators-0.2.1 lib/generators/nifty/scaffold/templates/actions/index.rb
very_nifty_generators-0.2.0 lib/generators/nifty/scaffold/templates/actions/index.rb
very_nifty_generators-0.2.0 lib/generators/nifty/controller/templates/actions/index.rb
very_nifty_generators-0.1.2 lib/generators/nifty/controller/templates/actions/index.rb
very_nifty_generators-0.1.2 lib/generators/nifty/scaffold/templates/actions/index.rb
very_nifty_generators-0.1.1 lib/generators/nifty/scaffold/templates/actions/index.rb