```ruby
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
user
```ruby
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
```
assistant