Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #12945 from fluxusfrequency/patch-1

Fixed typos in "shallow routes" and "routing concerns" in routing.md [ci skip]
  • Loading branch information...
commit be25709eff130dd801d86b196ca32f323cae9b16 2 parents a3a0d08 + 5019a04
@senny senny authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 guides/source/routing.md
View
4 guides/source/routing.md
@@ -338,7 +338,7 @@ shallow do
end
```
-There exists two options for `scope` to customize shallow routes. `:shallow_path` prefixes member paths with the specified parameter:
+There exist two options for `scope` to customize shallow routes. `:shallow_path` prefixes member paths with the specified parameter:
```ruby
scope shallow_path: "sekret" do
@@ -384,7 +384,7 @@ The comments resource here will have the following routes generated for it:
### Routing concerns
-Routing Concerns allows you to declare common routes that can be reused inside others resources and routes. To define a concern:
+Routing Concerns allows you to declare common routes that can be reused inside other resources and routes. To define a concern:
```ruby
concern :commentable do
Please sign in to comment.
Something went wrong with that request. Please try again.