class ActionController::Base
Public Class Methods
all_application_helpers()
click to toggle source
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/*.
Calls superclass method
# 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
Private Instance Methods
render_fat_free_crm_exception(exception)
click to toggle source
# File lib/fat_free_crm/exceptions.rb, line 20 def render_fat_free_crm_exception(exception) logger.error exception.inspect render layout: false, template: "/layouts/500", format: :html, status: 500, locals: { exception: exception } end