Class: ActionController::Base
- Inherits:
-
Object
- Object
- ActionController::Base
- Defined in:
- lib/fat_free_crm/gem_ext/action_controller/base.rb,
lib/fat_free_crm/exceptions.rb
Direct Known Subclasses
Class Method Summary collapse
-
.all_application_helpers ⇒ Object
Remove helpers residing in subdirectories from the list of application helpers.
Class Method Details
.all_application_helpers ⇒ Object
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/*.
14 15 16 |
# File 'lib/fat_free_crm/gem_ext/action_controller/base.rb', line 14 def self.all_application_helpers super.delete_if { |helper| helper.include?(File::SEPARATOR) } end |