提交 b7801ff7 编写于 作者: N Nicholas Seckar

Shorten long line

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2628 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
上级 bfbf6bba
unless defined?(RAILS_ROOT)
require 'pathname'
RAILS_ROOT = Pathname.new(File.join(File.dirname(__FILE__), '..')).cleanpath.to_s + '/' unless defined?(RAILS_ROOT)
root_path = Pathname.new(File.join(File.dirname(__FILE__), '..'))
RAILS_ROOT = root_path.cleanpath.to_s + '/'
end
if File.directory?("#{RAILS_ROOT}/vendor/rails")
require "#{RAILS_ROOT}/vendor/rails/railties/lib/initializer"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册