about summary refs log tree commit diff
path: root/app/lib/application_extension.rb
blob: 93c0f42f0680df8d686feacd844fc78a45009afb (plain) (blame)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

module ApplicationExtension
  extend ActiveSupport::Concern

  included do
    validates :website, url: true, unless: 'website.blank?'
  end
end