Sha256: c97d8927cdd01e373ff1f40c9c761d0e54ef9f2d4efdae31f30aeb496f2975b6

Contents?: true

Size: 1.62 KB

Versions: 5

Compression:

Stored size: 1.62 KB

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

  # GET /email
  # GET /email.xml                                              not implemented
  #----------------------------------------------------------------------------
  # def index
  # end

  # GET /email/1
  # GET /email/1.xml                                            not implemented
  #----------------------------------------------------------------------------
  # def show
  # end

  # GET /emails/new
  # GET /emails/new.xml                                         not implemented
  #----------------------------------------------------------------------------
  # def new
  # end

  # GET /emails/1/edit                                          not implemented
  #----------------------------------------------------------------------------
  # def edit
  # end

  # PUT /emails/1
  # PUT /emails/1.xml                                           not implemented
  #----------------------------------------------------------------------------
  # def update
  # end

  # 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.12.3 app/controllers/emails_controller.rb
fat_free_crm-0.12.2 app/controllers/emails_controller.rb
fat_free_crm-0.12.1 app/controllers/emails_controller.rb
fat_free_crm-0.13.0 app/controllers/emails_controller.rb
fat_free_crm-0.12.0 app/controllers/emails_controller.rb