sluggable_cjn 0.0.0 → 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- 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
|