提交 4a51328a 编写于 作者: Z zhengjia 提交者: Xavier Noria

Minor fix on Rails:Railtie documentation

上级 3d377454
......@@ -97,7 +97,7 @@ module Rails
# If your railtie has rake tasks, you can tell Rails to load them through the method
# rake tasks:
#
# class MyRailtie < Railtie
# class MyRailtie < Rails::Railtie
# rake_tasks do
# load "path/to/my_railtie.tasks"
# end
......@@ -107,7 +107,7 @@ module Rails
# your generators at a different location, you can specify in your Railtie a block which
# will load them during normal generators lookup:
#
# class MyRailtie < Railtie
# class MyRailtie < Rails::Railtie
# generators do
# require "path/to/my_railtie_generator"
# end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册