Permalink
Browse files

actually url helper are not used any way, so get rid of it...

  • Loading branch information...
1 parent d4a1822 commit 5984438e5cd720a0dc69ccf09257236bd5408687 Tobias Bielohlawek committed Mar 8, 2011
Showing with 0 additions and 8 deletions.
  1. +0 −8 lib/big_sitemap.rb
View
@@ -324,18 +324,10 @@ def url_for_sitemap(path)
class BigSitemapRails < BigSitemap
- if defined?(Rails) && Rails.version < "3"
- include ActionController::UrlWriter
- end
-
def initialize(options={})
raise "No Rails Environment loaded" unless defined? Rails
require 'action_controller'
- if Rails.version >= "3"
- self.class.send(:include, Rails.application.routes.url_helpers)
- end
-
DEFAULTS.merge!(:document_root => "#{Rails.root}/public", :url_options => default_url_options)
super(options)
end

0 comments on commit 5984438

Please sign in to comment.