Use require_dependency 'application' not require in the console bootstraps to avoid requiring application.rb twice

This commit is contained in:
Michael Koziarski
2008-07-11 22:27:36 +02:00
parent 6b9f8adb3e
commit 292501c7e0

View File

@@ -16,7 +16,7 @@ def helper(*helper_names)
end
end
require 'application'
require_dependency 'application'
class << helper
include_all_modules_from ActionView