We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49898d9 commit 70b5115Copy full SHA for 70b5115
README.md
@@ -83,15 +83,15 @@ It will modify your `config/routes.rb`, adding:
83
mount RailsAdmin::Engine => '/admin', :as => 'rails_admin' # Feel free to change '/admin' to any namespace you need.
84
```
85
86
-Note: Your RailsAdmin namespace cannot match your Devise model name, or you will get an infinite redirect error.
+Note: The `devise_for` route must be placed before the mounted engine. The following will generate infinite redirects.
87
The following will generate infinite redirects.
88
89
```ruby
90
-devise_for :admins
91
mount RailsAdmin::Engine => '/admin', :as => 'rails_admin'
+devise_for :admins
92
93
94
-Consider renaming your RailsAdmin namespace:
+This will resolve the infinite redirect error:
95
96
97
devise_for :admins
0 commit comments