Sha256: e2b189110a2b819a8a569b28440659bd11bef53c2325ac12142f2c7b8c76f471

Contents?: true

Size: 99 Bytes

Versions: 11

Compression:

Stored size: 99 Bytes

Contents

  def show
    respond_with(@<%= singular_name %> = <%= class_name %>.find(params[:id]))    
  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/show.rb
rspec_rails3_gen-0.2.2 lib/generators/rspec/controller/templates/actions/show.rb
rspec_rails3_gen-0.2.0 lib/generators/rspec/controller/templates/actions/show.rb
rspec_rails3_gen-0.2.0 lib/generators/rspec/scaffold/templates/actions/show.rb
very_nifty_generators-0.2.1 lib/generators/nifty/controller/templates/actions/show.rb
very_nifty_generators-0.2.1 lib/generators/nifty/scaffold/templates/actions/show.rb
very_nifty_generators-0.2.0 lib/generators/nifty/scaffold/templates/actions/show.rb
very_nifty_generators-0.2.0 lib/generators/nifty/controller/templates/actions/show.rb
very_nifty_generators-0.1.2 lib/generators/nifty/controller/templates/actions/show.rb
very_nifty_generators-0.1.2 lib/generators/nifty/scaffold/templates/actions/show.rb
very_nifty_generators-0.1.1 lib/generators/nifty/scaffold/templates/actions/show.rb