Sha256: c634b66aeb927f3c12a22f0335940354ecaf853122a569d9b4f4e7f5daa41b4c

Contents?: true

Size: 289 Bytes

Versions: 24

Compression:

Stored size: 289 Bytes

Contents

class E9Crm::CompaniesController < E9Crm::ResourcesController
  defaults :resource_class => Company
  include E9Rails::Controllers::Orderable
  include E9::DestroyRestricted::Controller

  protected

  def default_ordered_on
    'name'
  end

  def default_ordered_dir
    'ASC'
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
e9_crm-0.1.13 app/controllers/e9_crm/companies_controller.rb
e9_crm-0.1.12 app/controllers/e9_crm/companies_controller.rb
e9_crm-0.1.11 app/controllers/e9_crm/companies_controller.rb
e9_crm-0.1.10 app/controllers/e9_crm/companies_controller.rb