Sha256: b7612ba2105fca7ab82ee8a1b9d6ce194a1e0e8cf027ab4c7635a58069135dc8
Contents?: true
Size: 529 Bytes
Versions: 29
Compression:
Stored size: 529 Bytes
Contents
class HelpersIncludeAllOffSystemSpecController < ApplicationController # Rails 3.0.x doesn't support config.action_controller.include_all_helpers=; as a result, we skip that call in # config/application.rb, and use "clear_helpers; helper :application" in the actual # HelpersIncludeAllOffSystemSpecController to simulate that behavior. unless Rails.application.config.action_controller.respond_to?(:include_all_helpers=) clear_helpers helper :application end def include_all_off # nothing here end end
Version data entries
29 entries across 29 versions & 1 rubygems