diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-08-26 16:33:08 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-26 16:33:08 +0900 |
commit | 7a9b93805bd6f901de72c8f84c75e4f52476a872 (patch) | |
tree | 8c5a0c10c9f32f6faf53a9eaeb897956ad1cd41f /actionpack/lib/action_dispatch/middleware | |
parent | 494fd7743c052126b3af90db574f13c99005663e (diff) | |
parent | 8c5ab21b25faa991de40fd7937387e20f0770d4b (diff) | |
download | rails-7a9b93805bd6f901de72c8f84c75e4f52476a872.tar.gz rails-7a9b93805bd6f901de72c8f84c75e4f52476a872.tar.bz2 rails-7a9b93805bd6f901de72c8f84c75e4f52476a872.zip |
Merge pull request #30418 from yhirano55/use_tt_in_doc_for_actionpack
Use tt in doc for action_pack [ci skip]
Diffstat (limited to 'actionpack/lib/action_dispatch/middleware')
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/public_exceptions.rb | 8 | ||||
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/session/cookie_store.rb | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/public_exceptions.rb b/actionpack/lib/action_dispatch/middleware/public_exceptions.rb index 02be97b4cc..3feb3a19f3 100644 --- a/actionpack/lib/action_dispatch/middleware/public_exceptions.rb +++ b/actionpack/lib/action_dispatch/middleware/public_exceptions.rb @@ -2,12 +2,12 @@ module ActionDispatch # When called, this middleware renders an error page. By default if an HTML - # response is expected it will render static error pages from the `/public` + # response is expected it will render static error pages from the <tt>/public</tt> # directory. For example when this middleware receives a 500 response it will - # render the template found in `/public/500.html`. + # render the template found in <tt>/public/500.html</tt>. # If an internationalized locale is set, this middleware will attempt to render - # the template in `/public/500.<locale>.html`. If an internationalized template - # is not found it will fall back on `/public/500.html`. + # the template in <tt>/public/500.<locale>.html</tt>. If an internationalized template + # is not found it will fall back on <tt>/public/500.html</tt>. # # When a request with a content type other than HTML is made, this middleware # will attempt to convert error information into the appropriate response type. diff --git a/actionpack/lib/action_dispatch/middleware/session/cookie_store.rb b/actionpack/lib/action_dispatch/middleware/session/cookie_store.rb index 65e93984e3..a12cb00d36 100644 --- a/actionpack/lib/action_dispatch/middleware/session/cookie_store.rb +++ b/actionpack/lib/action_dispatch/middleware/session/cookie_store.rb @@ -29,16 +29,16 @@ module ActionDispatch # be encrypted, and signed cookies generated by Rails 3 will be # transparently read and encrypted to provide a smooth upgrade path. # - # Configure your session store in config/initializers/session_store.rb: + # Configure your session store in <tt>config/initializers/session_store.rb</tt>: # # Rails.application.config.session_store :cookie_store, key: '_your_app_session' # - # Configure your secret key in config/secrets.yml: + # Configure your secret key in <tt>config/secrets.yml</tt>: # # development: # secret_key_base: 'secret key' # - # To generate a secret key for an existing application, run `rails secret`. + # To generate a secret key for an existing application, run <tt>rails secret</tt>. # # If you are upgrading an existing Rails 3 app, you should leave your # existing secret_token in place and simply add the new secret_key_base. |