Sha256: 892a15f671b381e05f3cd50abac6f00eaf5400b2801dd18467ea08cc55f1b343

Contents?: true

Size: 680 Bytes

Versions: 15

Compression:

Stored size: 680 Bytes

Contents

# 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
  before_action :require_user

  # 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

15 entries across 15 versions & 2 rubygems

Version Path
fat_free_crm-0.14.2 app/controllers/emails_controller.rb
fat_free_crm-0.15.2 app/controllers/emails_controller.rb
fat_free_crm-0.16.4 app/controllers/emails_controller.rb
fat_free_crm-0.14.1 app/controllers/emails_controller.rb
fat_free_crm-0.15.1 app/controllers/emails_controller.rb
fat_free_crm-0.16.3 app/controllers/emails_controller.rb
fat_free_crm-0.16.2 app/controllers/emails_controller.rb
fat_free_crm-0.16.1 app/controllers/emails_controller.rb
fat_free_crm-0.16.0 app/controllers/emails_controller.rb
fat_free_crm-0.15.0 app/controllers/emails_controller.rb
fat_free_crm-0.15.0.beta.2 app/controllers/emails_controller.rb
fat_free_crm-0.15.0.beta app/controllers/emails_controller.rb
fat_free_crm-0.14.0 app/controllers/emails_controller.rb
reduced_fat_crm-0.15.0.beta app/controllers/emails_controller.rb
reduced_fat_crm-0.14.0 app/controllers/emails_controller.rb