config/initializers/friendly_id.rb in phccodesnipper-1.1.0 vs config/initializers/friendly_id.rb in phccodesnipper-3.0.0
- old
+ new
@@ -16,10 +16,10 @@
# undesirable to allow as slugs. Edit this list as needed for your app.
config.use :reserved
config.reserved_words = %w(new edit index session login logout users admin
stylesheets assets javascripts images)
-
+
# This adds an option to treat reserved words as conflicts rather than exceptions.
# When there is no good candidate, a UUID will be appended, matching the existing
# conflict behavior.
# config.treat_reserved_as_conflict = true