We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f00be3 commit bcbe8feCopy full SHA for bcbe8fe
1 file changed
lib/jammit/controller.rb
@@ -87,7 +87,7 @@ def package_not_found
87
# Make the Jammit::Controller available to Rails as a top-level controller.
88
::JammitController = Jammit::Controller
89
90
-if defined?(Rails) && (Rails.env.development? || Rails.env.test?)
+if defined?(Rails) && Rails.env.development?
91
ActionController::Base.class_eval do
92
append_before_filter { Jammit.reload! }
93
end
0 commit comments