aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZachary Scott <e@zzak.io>2015-05-01 23:51:15 -0700
committerZachary Scott <e@zzak.io>2015-05-01 23:51:15 -0700
commit57b9ef1be803a3f4c616df38566b015532e4da5c (patch)
tree25fd135151b35bafafe7efaff6ed2017e10e952a
parent2e7fd4a8661960434ccaad71c8afb4ef26281d21 (diff)
parent3110c98ab186d4e96ad031778ec409c1b08c53e9 (diff)
downloadrails-57b9ef1be803a3f4c616df38566b015532e4da5c.tar.gz
rails-57b9ef1be803a3f4c616df38566b015532e4da5c.tar.bz2
rails-57b9ef1be803a3f4c616df38566b015532e4da5c.zip
Merge pull request #19975 from prathamesh-sonpatki/engine-minor-changes
Added missing fullstop in engine API docs [ci skip]
-rw-r--r--railties/lib/rails/engine.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/engine.rb b/railties/lib/rails/engine.rb
index 83cee28fa3..db75836b8a 100644
--- a/railties/lib/rails/engine.rb
+++ b/railties/lib/rails/engine.rb
@@ -405,7 +405,7 @@ module Rails
end
end
- # Finds engine with given path
+ # Finds engine with given path.
def find(path)
expanded_path = File.expand_path path
Rails::Engine.subclasses.each do |klass|
@@ -559,7 +559,7 @@ module Rails
# and the load_once paths.
#
# This needs to be an initializer, since it needs to run once
- # per engine and get the engine as a block parameter
+ # per engine and get the engine as a block parameter.
initializer :set_autoload_paths, before: :bootstrap_hook do
ActiveSupport::Dependencies.autoload_paths.unshift(*_all_autoload_paths)
ActiveSupport::Dependencies.autoload_once_paths.unshift(*_all_autoload_once_paths)