README.md in searchjoy-0.0.9 vs README.md in searchjoy-0.0.10
- old
+ new
@@ -97,9 +97,11 @@
ENV["SEARCHJOY_PASSWORD"] = "secret"
```
#### Devise
+In your `config/routes.rb`:
+
```ruby
authenticate :user, lambda{|user| user.admin? } do
mount Searchjoy::Engine, at: "admin/searchjoy"
end
```