Module: Slugged::SlugHistory

Extended by:
ActiveSupport::Concern
Defined in:
lib/slugged/slug_history.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#previous_slugsObject



10
11
12
# File 'lib/slugged/slug_history.rb', line 10

def previous_slugs
  Slugged.previous_slugs_for(self)
end

#remove_slug_history!Object



14
15
16
# File 'lib/slugged/slug_history.rb', line 14

def remove_slug_history!
  Slugged.remove_slug_history_for(self)
end