Sha256: f2451a573052edf30e1a6025e58ef4f1b24e1c33c5bcbaa419d7b156333e8a47

Contents?: true

Size: 164 Bytes

Versions: 17

Compression:

Stored size: 164 Bytes

Contents

class ExternalLink < ActiveRecord::Base
  has_many :sitemaps, :as=>:resource

  after_save :reload_sitemap

  def reload_sitemap
    Sitemap.reload_root
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
wheels-0.1.30 app/models/external_link.rb
wheels-0.1.28 app/models/external_link.rb
wheels-0.1.27 app/models/external_link.rb
wheels-0.1.25 app/models/external_link.rb
wheels-0.1.24 app/models/external_link.rb
wheels-0.1.23 app/models/external_link.rb
wheels-0.1.22 app/models/external_link.rb
wheels-0.1.21 app/models/external_link.rb
wheels-0.1.20 app/models/external_link.rb
wheels-0.1.19 app/models/external_link.rb
wheels-0.1.18 app/models/external_link.rb
wheels-0.1.17 app/models/external_link.rb
wheels-0.1.16 app/models/external_link.rb
wheels-0.1.15 app/models/external_link.rb
wheels-0.1.14 app/models/external_link.rb
wheels-0.1.13 app/models/external_link.rb
wheels-0.1.12 app/models/external_link.rb