Sha256: 0c587b9f3a429a451b8ecb7c91a4ce75d7b9e89d6afc619a100c551c40d7ffe6
Contents?: true
Size: 989 Bytes
Versions: 62
Compression:
Stored size: 989 Bytes
Contents
Sitemap::Generator.instance.load :host => "www.#{Settings.app.domain}" do path :home # Sample path: # path :faq # The specified path must exist in your routes file (usually specified through :as). # Sample path with params: # path :faq, :params => { :format => "html", :filter => "recent" } # Depending on the route, the resolved url could be http://mywebsite.com/frequent-questions.html?filter=recent. # Sample resource: # resources :articles # Sample resource with custom objects: # resources :articles, :objects => proc { Article.published } # Sample resource with search options: # resources :articles, :priority => 0.8, :change_frequency => "monthly" # Sample resource with block options: # resources :activities, # :skip_index => true, # :updated_at => proc { |activity| activity.published_at.strftime("%Y-%m-%d") } # :params => { :subdomain => proc { |activity| activity.location } } end
Version data entries
62 entries across 62 versions & 1 rubygems