File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed
app/models/communication/website Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ version: 2.1
44jobs :
55 build :
66 docker :
7- - image : cimg/ ruby:4.0.2-node
7+ - image : noesya/cimg- ruby-activestorage-preview :4.0.2
88 environment :
99 RAILS_ENV : test
1010 RACK_ENV : test
2626 keys :
2727 - v1-dependencies-{{ checksum "Gemfile.lock" }}
2828
29- # Install binaries for Active Storage Previews
30- - run :
31- name : Install binaries for Active Storage Previews
32- command : |
33- sudo apt-get update
34- sudo apt-get install ffmpeg poppler-utils libvips-dev -y
35-
3629 # Bundler configuration
3730 - run :
3831 name : Configure Bundler
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ class Communication::Website::Permalink < ApplicationRecord
3838
3939 validates :path , presence : true
4040 validates :path , uniqueness : { scope : :website_id } , unless : :is_current
41- # TODO: validate :root_path_is_reserved_for_home
41+ validate :root_path_is_reserved_for_home
4242
4343 before_validation :set_university , on : :create
4444 # We should not sync the about object whenever we do something with the permalink, as they can be changed during a sync.
You can’t perform that action at this time.
0 commit comments