---
title: Q & A
weight: 7
---

## Q & A

### Q: How to use custom admin model?

in ```config/initializers/leaf.rb``` set

```ruby
Leaf.setup do |conf|
  conf.devise_for = 'custom_admin'
end
```
Where custom_admin is underscored name of you custom admin model.
Don't forget to restart rails restart rails.


---
title: Q & A
weight: 7
---

## Q & A

### Q: How to use custom admin model?

in ```config/initializers/releaf.rb``` set

```ruby
Releaf.setup do |conf|
  conf.devise_for = 'custom_admin'
end
```
Where custom_admin is underscored name of you custom admin model.
Don't forget to restart rails restart rails.


Fix typo leaf -> releaf, Leaf -> Releaf
Fix typo leaf -> releaf, Leaf -> Releaf
