Sha256: 5e84866365246b25aebee2bc7fca858bac7db80242eb684e433a9a4a6441473e

Contents?: true

Size: 680 Bytes

Versions: 5

Compression:

Stored size: 680 Bytes

Contents

# frozen_string_literal: true

# Copyright (c) 2008-2013 Michael Dvorkin and contributors.
#
# Fat Free CRM is freely distributable under the terms of MIT license.
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
#------------------------------------------------------------------------------
class EmailsController < ApplicationController
  # DELETE /emails/1
  # DELETE /emails/1.json
  # DELETE /emails/1.xml                                                   AJAX
  #----------------------------------------------------------------------------
  def destroy
    @email = Email.find(params[:id])
    @email.destroy
    respond_with(@email)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fat_free_crm-0.21.0 app/controllers/emails_controller.rb
fat_free_crm-0.20.1 app/controllers/emails_controller.rb
fat_free_crm-0.20.0 app/controllers/emails_controller.rb
fat_free_crm-0.19.2 app/controllers/emails_controller.rb
fat_free_crm-0.19.0 app/controllers/emails_controller.rb