I can't seem to find documentation on mapping routes with options in rails 3.
As a specific example, I need to translate
map.with_options :controller => 'users' do |signup|
signup.signup '/signup',
:action => 'landing',
:conditions => { :method => :get }
signup.premium '/signup/premium',
:action => 'new',
:level => 'premium',
:conditions => { :method => :get }
signup.premium '/signup/premium',
:action => 'create',
:level => 'premium',
:conditions => { :method => :post }
signup.free '/signup/free',
:action => 'new',
:level => 'free',
:conditions => { :method => :get }
signup.free '/signup/free',
:action => 'create',
:level => 'free',
:conditions => { :method => :post }
end
Into proper syntax for rails3. I'm sure it must be simple that I've overlooked, but any help or links to articles would be wondrous.