Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bugfix: onload should be triggered in initializer

  • Loading branch information...
commit 1a60dc92c285b5e0afbf41510dab85f8fb7869c7 1 parent c4cd89c
Volker Hochstein authored
Showing with 3 additions and 4 deletions.
  1. +3 −4 lib/active_scaffold_export/engine.rb
7 lib/active_scaffold_export/engine.rb
View
@@ -7,10 +7,9 @@ class Engine < ::Rails::Engine
ActiveSupport.on_load(:action_controller) do
require "active_scaffold_export/config/core.rb"
end
- end
-
- ActiveSupport.on_load(:action_view) do
- include ActiveScaffold::Helpers::ExportHelpers
+ ActiveSupport.on_load(:action_view) do
+ include ActiveScaffold::Helpers::ExportHelpers
+ end
end
end
#end
Please sign in to comment.
Something went wrong with that request. Please try again.