- resource :account, :only => [:edit, :update, :destroy]
-
- namespace :account do
- resource :deletion, :only => [:show]
+ resource :account, :only => [:edit, :update, :destroy] do
+ scope :module => :accounts do
+ resource :terms, :only => [:show, :update]
+ resource :deletion, :only => :show
+ end