about summary refs log tree commit diff
path: root/app/lib/application_extension.rb
blob: 1d80b8c6d3d2a139a338787f14d5f567e08cde71 (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, if: :website?
  end
end