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:
parent
3229eda00c
commit
75fe384c81
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue