Class: BigSitemapRails
- Inherits:
-
BigSitemap
- Object
- BigSitemap
- BigSitemapRails
- Defined in:
- lib/big_sitemap.rb
Constant Summary
Constants inherited from BigSitemap
Class Method Summary collapse
Methods inherited from BigSitemap
#add, #add_path, #add_static, #add_urls, #clean, #dir_files, #document_full, #file_name, #first_id_of_last_sitemap, #first_id_of_last_sitemap=, #generate, #generate_sitemap_index, #initialize, #ping_search_engines, #with_lock
Constructor Details
This class inherits a constructor from BigSitemap
Class Method Details
.generate(options = {}, &block) ⇒ Object
280 281 282 283 284 285 |
# File 'lib/big_sitemap.rb', line 280 def self.generate(={}, &block) raise 'No Rails Environment loaded' unless defined? Rails DEFAULTS.merge!(:document_root => "#{Rails.root}/public", :url_options => ) super(, &block) end |