diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-08-27 15:29:42 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-27 15:29:42 +0900 |
commit | 6bc2ac64cea6e148c84356b998314b61a9405754 (patch) | |
tree | aef2d2f3671eba84b9115ba0c5b2a033ac0b0d57 /railties/lib/rails/command/actions.rb | |
parent | 46c2e93051ab33157c584292a2743f9482e99582 (diff) | |
parent | 38b13929f09b87cae85fb1d9ae6dec413f175304 (diff) | |
download | rails-6bc2ac64cea6e148c84356b998314b61a9405754.tar.gz rails-6bc2ac64cea6e148c84356b998314b61a9405754.tar.bz2 rails-6bc2ac64cea6e148c84356b998314b61a9405754.zip |
Merge pull request #30430 from yhirano55/use_tt_in_doc_for_railties
Use tt in doc for ActiveSupport and Railties [skip ci]
Diffstat (limited to 'railties/lib/rails/command/actions.rb')
-rw-r--r-- | railties/lib/rails/command/actions.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/railties/lib/rails/command/actions.rb b/railties/lib/rails/command/actions.rb index 2f6827b7f4..cbb743346b 100644 --- a/railties/lib/rails/command/actions.rb +++ b/railties/lib/rails/command/actions.rb @@ -3,9 +3,9 @@ module Rails module Command module Actions - # Change to the application's path if there is no config.ru file in current directory. - # This allows us to run `rails server` from other directories, but still get - # the main config.ru and properly set the tmp directory. + # Change to the application's path if there is no <tt>config.ru</tt> file in current directory. + # This allows us to run <tt>rails server</tt> from other directories, but still get + # the main <tt>config.ru</tt> and properly set the <tt>tmp</tt> directory. def set_application_directory! Dir.chdir(File.expand_path("../..", APP_PATH)) unless File.exist?(File.expand_path("config.ru")) end |