diff options
Diffstat (limited to 'actionpack/lib/sprockets/helpers/isolated_helper.rb')
-rw-r--r-- | actionpack/lib/sprockets/helpers/isolated_helper.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/actionpack/lib/sprockets/helpers/isolated_helper.rb b/actionpack/lib/sprockets/helpers/isolated_helper.rb new file mode 100644 index 0000000000..3adb928c45 --- /dev/null +++ b/actionpack/lib/sprockets/helpers/isolated_helper.rb @@ -0,0 +1,13 @@ +module Sprockets + module Helpers + module IsolatedHelper + def controller + nil + end + + def config + Rails.application.config.action_controller + end + end + end +end |