mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Use require_dependency 'application' not require in the console bootstraps to avoid requiring application.rb twice
This commit is contained in:
parent
6b9f8adb3e
commit
292501c7e0
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ def helper(*helper_names)
|
|||
end
|
||||
end
|
||||
|
||||
require 'application'
|
||||
require_dependency 'application'
|
||||
|
||||
class << helper
|
||||
include_all_modules_from ActionView
|
||||
|
|
Loading…
Reference in a new issue