We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b813db commit c37c332Copy full SHA for c37c332
app/models/communication/website/permalink.rb
@@ -38,7 +38,7 @@ class Communication::Website::Permalink < ApplicationRecord
38
39
validates :path, presence: true
40
validates :path, uniqueness: { scope: :website_id }, unless: :is_current
41
- # TODO: validate :root_path_is_reserved_for_home
+ validate :root_path_is_reserved_for_home
42
43
before_validation :set_university, on: :create
44
# We should not sync the about object whenever we do something with the permalink, as they can be changed during a sync.
0 commit comments