mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix inconsistent heading level in guides [ci-skip]
Fixed a few instances where heading levels were skipped. e.g. h4 instead of h3
This commit is contained in:
parent
4a906cbbbc
commit
e469025ef5
4 changed files with 4 additions and 4 deletions
|
@ -162,7 +162,7 @@ Railties
|
|||
|
||||
* Remove old `config.paths.app.controller` API in favor of `config.paths["app/controller"]`.
|
||||
|
||||
#### Deprecations
|
||||
### Deprecations
|
||||
|
||||
* `Rails::Plugin` is deprecated and will be removed in Rails 4.0. Instead of adding plugins to `vendor/plugins` use gems or bundler with path or git dependencies.
|
||||
|
||||
|
|
|
@ -595,7 +595,7 @@ consumer.subscriptions.create("AppearanceChannel", {
|
|||
})
|
||||
```
|
||||
|
||||
##### Client-Server Interaction
|
||||
#### Client-Server Interaction
|
||||
|
||||
1. **Client** connects to the **Server** via `App.cable =
|
||||
ActionCable.createConsumer("ws://cable.example.com")`. (`cable.js`). The
|
||||
|
|
|
@ -22,7 +22,7 @@ What is Action Mailer?
|
|||
Action Mailer allows you to send emails from your application using mailer classes
|
||||
and views.
|
||||
|
||||
#### Mailers are similar to controllers
|
||||
### Mailers are similar to controllers
|
||||
|
||||
They inherit from [`ActionMailer::Base`][] and live in `app/mailers`. Mailers also work
|
||||
very similarly to controllers. Some examples of similarities are enumerated below.
|
||||
|
|
|
@ -1608,7 +1608,7 @@ end
|
|||
|
||||
This assertion is quite powerful. For more advanced usage, refer to its [documentation](https://github.com/rails/rails-dom-testing/blob/master/lib/rails/dom/testing/assertions/selector_assertions.rb).
|
||||
|
||||
#### Additional View-Based Assertions
|
||||
### Additional View-Based Assertions
|
||||
|
||||
There are more assertions that are primarily used in testing views:
|
||||
|
||||
|
|
Loading…
Reference in a new issue