```ruby
Ecm::News::Backend::Engine.routes.draw do
  resources :items do
    member do
      post :toggle_published
    end
  end

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

Use itsf backend backend_resource method.
user
```ruby
Ecm::News::Backend::Engine.routes.draw do
  backend_resources :items do
    member do
      post :toggle_published
    end
  end

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