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

  root to: 'home#index'
end

Ecm::News::Backend::Engine.routes.draw do
  backend_resources :items do
    member do
      post :toggle_published
    end
  end

  root to: 'home#index'
end

Use itsf backend backend_resource method.
Use itsf backend backend_resource method.
