diff options
Diffstat (limited to 'app/controllers/companies_controller.rb')
| -rw-r--r-- | app/controllers/companies_controller.rb | 7 | 
1 files changed, 0 insertions, 7 deletions
| diff --git a/app/controllers/companies_controller.rb b/app/controllers/companies_controller.rb index bb83ffbd2..2c32ed3a5 100644 --- a/app/controllers/companies_controller.rb +++ b/app/controllers/companies_controller.rb @@ -38,13 +38,6 @@ class CompaniesController < ChouetteController    protected -  # Workaround to CustomField initialization order. See #6669 -  def build_resource -    @company ||= end_of_association_chain.build do |r| -      r.attributes = resource_params.first -    end -  end -    def collection      scope = line_referential.companies      @q = scope.search(params[:q]) | 
