Sha256: e0c8a4c49828aa919c12c0ee74a642461452e43512caddf54735b3eb583ac6ba

Contents?: true

Size: 681 Bytes

Versions: 6

Compression:

Stored size: 681 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_filter :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

6 entries across 6 versions & 1 rubygems

Version Path
fat_free_crm-0.13.6 app/controllers/emails_controller.rb
fat_free_crm-0.13.5 app/controllers/emails_controller.rb
fat_free_crm-0.13.4 app/controllers/emails_controller.rb
fat_free_crm-0.13.3 app/controllers/emails_controller.rb
fat_free_crm-0.13.2 app/controllers/emails_controller.rb
fat_free_crm-0.13.1 app/controllers/emails_controller.rb