Add routes config info.
This commit is contained in:
parent
f219b9aed2
commit
108dc9ff64
10
README.md
10
README.md
|
@ -41,6 +41,16 @@ RuCaptcha.configure do
|
||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Edit `config/routes.rb`, add follow line:
|
||||||
|
|
||||||
|
```rb
|
||||||
|
Rails.application.routes.draw do
|
||||||
|
...
|
||||||
|
mount RuCaptcha::Engine => "/rucaptcha"
|
||||||
|
...
|
||||||
|
end
|
||||||
|
```
|
||||||
|
|
||||||
Controller `app/controller/account_controller.rb`
|
Controller `app/controller/account_controller.rb`
|
||||||
|
|
||||||
```rb
|
```rb
|
||||||
|
|
Loading…
Reference in New Issue