1b53396050
- Add disallow_account_scope to skip tenant requirement - Move routes to saas/config/routes.rb (engine routes) - Use saas.devices_path/saas.device_path for engine route helpers - Update tests to work without tenant context Devices belong to Identity (global), not Account, so they don't need tenant context in the URL. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
16 lines
419 B
Ruby
16 lines
419 B
Ruby
Fizzy::Saas::Engine.routes.draw do
|
|
Queenbee.routes(self)
|
|
|
|
resources :devices, only: [ :index, :create, :destroy ]
|
|
|
|
namespace :admin do
|
|
mount Audits1984::Engine, at: "/console"
|
|
get "stats", to: "stats#show"
|
|
resource :account_search, only: :create
|
|
resources :accounts do
|
|
resource :overridden_limits, only: :destroy
|
|
resource :billing_waiver, only: [ :create, :destroy ]
|
|
end
|
|
end
|
|
end
|