sluggable_cjn 0.0.0 → 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/sluggable_cjn.rb +2 -2
- metadata +1 -1
data/lib/sluggable_cjn.rb
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
module
|
|
1
|
+
module SluggableCjn
|
|
2
2
|
extend ActiveSupport::Concern
|
|
3
3
|
|
|
4
|
-
# Class methods to be called by the Class including this Module
|
|
4
|
+
# Class methods to be called by the Class including this Module
|
|
5
5
|
included do
|
|
6
6
|
before_save :set_slug # Parse & form valid slug string
|
|
7
7
|
class_attribute :slug_column # Make a class attribute variable
|