Class: E9Crm::DealsController

Inherits:
ResourcesController show all
Includes:
E9Rails::Controllers::Orderable
Defined in:
app/controllers/e9_crm/deals_controller.rb

Instance Method Summary collapse

Methods inherited from ResourcesController

#create, defaults, #update

Instance Method Details

#leadsObject

Actions



71
72
73
# File 'app/controllers/e9_crm/deals_controller.rb', line 71

def leads
  index!
end

#reportsObject

Reports scopes



57
# File 'app/controllers/e9_crm/deals_controller.rb', line 57

has_scope :reports, :only => :reports, :type => :boolean, :default => true

#until_timeObject

All Scopes



19
# File 'app/controllers/e9_crm/deals_controller.rb', line 19

has_scope :until_time, :as => :until, :unless => 'params[:from].present?'