```ruby
Ecm::Pictures::Backend::Engine.routes.draw do
  resources :galleries
  resources :pictures

  root to: 'home#index'
end
```

Use itsf backend backend_resource method.
user
```ruby
Ecm::Pictures::Backend::Engine.routes.draw do
  backend_resources :galleries
  backend_resources :pictures

  root to: 'home#index'
end
```
assistant