if Rails.env != "test"
    ActionController::Routing::Routes.draw do |map|
        # Additional help pages
        map.with_options :controller => 'help' do |help|
            help.help_help_out '/help/help_out', :action => 'help_out'
            help.help_right_to_know '/help/right_to_know', :action => 'right_to_know'
        end
        
        # We want to start by showing the public bodies categories and search only
        map.with_options :controller => 'public_body' do |body|
            body.body_index "/body/", :action => "index"
        end
    end
end
if Rails.env != "test"
    Alaveteli::Application.routes.draw do
        # Additional help pages
        match '/help/help_out' => 'help#help_help_out', :as => 'help_out'
        match '/help/right_to_know' => 'help#help_right_to_know', :as => 'right_to_know'
        
        # We want to start by showing the public bodies categories and search only
        match '/body/' => 'public_body#body_index', :as => "index"
    end
end
Update routes to new Rails 3 format
Update routes to new Rails 3 format
