mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Safer example in Rails::Railtie documentation
This commit is contained in:
parent
6d68bb5f69
commit
86a28b1f8e
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ module Rails
|
|||
# end
|
||||
#
|
||||
# # lib/my_gem.rb
|
||||
# require 'my_gem/railtie' if defined?(Rails)
|
||||
# require 'my_gem/railtie' if defined?(Rails::Railtie)
|
||||
#
|
||||
# == Initializers
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue