lib/archangel.rb in archangel-0.0.7 vs lib/archangel.rb in archangel-0.0.8
- old
+ new
@@ -86,7 +86,20 @@
#
# @return [Array] available themes
def themes
[THEME_DEFAULT] + THEMES
end
+
+ ##
+ # Reserved keywords for page slugs
+ #
+ # This is an array keywords that are not allowed to be used for Page slugs.
+ #
+ # Example
+ # Archangel.reserved_page_keywords #=> ["auth", "backend", ""]
+ #
+ # @return [Array] reserved keywords for page slugs
+ def reserved_page_keywords
+ %i[auth_path backend_path frontend_path]
+ end
end
end