Sha256: 3f81d8b73b9f4b6a351a36882a1dc1e307205ee043e5c0d6d83464e9460703fe

Contents?: true

Size: 773 Bytes

Versions: 13

Compression:

Stored size: 773 Bytes

Contents

# frozen_string_literal: true

# 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
#------------------------------------------------------------------------------
unless Rails.env.test?
  class ActionController::Base
    # Remove helpers residing in subdirectories from the list of application
    # helpers.  Basically we don't want helpers in app/helpers/admin/* to
    # override the ones in app/helpers/*.
    #----------------------------------------------------------------------------
    def self.all_application_helpers
      super.delete_if { |helper| helper.include?(File::SEPARATOR) }
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
fat_free_crm-0.22.1 lib/fat_free_crm/gem_ext/action_controller/base.rb
fat_free_crm-0.22.0 lib/fat_free_crm/gem_ext/action_controller/base.rb
fat_free_crm-0.21.0 lib/fat_free_crm/gem_ext/action_controller/base.rb
fat_free_crm-0.20.1 lib/fat_free_crm/gem_ext/action_controller/base.rb
fat_free_crm-0.20.0 lib/fat_free_crm/gem_ext/action_controller/base.rb
fat_free_crm-0.19.2 lib/fat_free_crm/gem_ext/action_controller/base.rb
fat_free_crm-0.19.0 lib/fat_free_crm/gem_ext/action_controller/base.rb
fat_free_crm-0.18.2 lib/fat_free_crm/gem_ext/action_controller/base.rb
fat_free_crm-0.17.3 lib/fat_free_crm/gem_ext/action_controller/base.rb
fat_free_crm-0.18.1 lib/fat_free_crm/gem_ext/action_controller/base.rb
fat_free_crm-0.18.0 lib/fat_free_crm/gem_ext/action_controller/base.rb
fat_free_crm-0.17.2 lib/fat_free_crm/gem_ext/action_controller/base.rb
fat_free_crm-0.17.1 lib/fat_free_crm/gem_ext/action_controller/base.rb