1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Rails is a module not a class

This commit is contained in:
Rafael Mendonça França 2014-07-15 13:02:22 -03:00
parent 3229eda00c
commit 75fe384c81

View file

@ -26,7 +26,7 @@ I18n.enforce_available_locales = false
FIXTURE_LOAD_PATH = File.expand_path('fixtures', File.dirname(__FILE__))
ActionMailer::Base.view_paths = FIXTURE_LOAD_PATH
class Rails
module Rails
def self.root
File.expand_path('../', File.dirname(__FILE__))
end