Rails 3 & Scope in routes

Hi,

I have something like this:

scope :module => ‘xxxx’, :constraints => { :subdomain => ‘xxxx’ } do
match ‘/’, :to => ‘welcome#index’, :as => :xxxx_root
end

Is there a way to add to scope naming prefix. For example

scope :name => ‘name’ do
match ‘/’, :to => ‘welcome#index’, :as => :root
end

would be named name_root, and I could use rails hepers.

Thanks

Marek