mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
commit
80ed46064d
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ module Rails
|
||||||
# root = Root.new "/rails"
|
# root = Root.new "/rails"
|
||||||
# root.add "app/controllers", eager_load: true
|
# root.add "app/controllers", eager_load: true
|
||||||
#
|
#
|
||||||
# The command above creates a new root object and add "app/controllers" as a path.
|
# The command above creates a new root object and adds "app/controllers" as a path.
|
||||||
# This means we can get a <tt>Rails::Paths::Path</tt> object back like below:
|
# This means we can get a <tt>Rails::Paths::Path</tt> object back like below:
|
||||||
#
|
#
|
||||||
# path = root["app/controllers"]
|
# path = root["app/controllers"]
|
||||||
|
|
Loading…
Reference in a new issue