Sha256: f6ee41c7a092cc928ff24717e927586ef46f00643fb9d8fa9200d8b741f9b071

Contents?: true

Size: 101 Bytes

Versions: 11

Compression:

Stored size: 101 Bytes

Contents

  def destroy
    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/destroy.rb
rspec_rails3_gen-0.2.2 lib/generators/rspec/controller/templates/actions/destroy.rb
rspec_rails3_gen-0.2.0 lib/generators/rspec/controller/templates/actions/destroy.rb
rspec_rails3_gen-0.2.0 lib/generators/rspec/scaffold/templates/actions/destroy.rb
very_nifty_generators-0.2.1 lib/generators/nifty/controller/templates/actions/destroy.rb
very_nifty_generators-0.2.1 lib/generators/nifty/scaffold/templates/actions/destroy.rb
very_nifty_generators-0.2.0 lib/generators/nifty/scaffold/templates/actions/destroy.rb
very_nifty_generators-0.2.0 lib/generators/nifty/controller/templates/actions/destroy.rb
very_nifty_generators-0.1.2 lib/generators/nifty/controller/templates/actions/destroy.rb
very_nifty_generators-0.1.2 lib/generators/nifty/scaffold/templates/actions/destroy.rb
very_nifty_generators-0.1.1 lib/generators/nifty/scaffold/templates/actions/destroy.rb