if defined?(Rails::Application)
  # Rails3 routes
  Rails::Application.routes.draw do |map|
    match "/#{Jammit.package_path}/:package.:extension",
      :to => 'jammit#package', :as => :jammit
  end
end
if defined?(Rails::Application)
  # Rails3 routes
  Rails.application.routes.draw do |map|
    match "/#{Jammit.package_path}/:package.:extension",
      :to => 'jammit#package', :as => :jammit
  end
end

Fix warning message in rails 3.0rc
Fix warning message in rails 3.0rc
