This repository has been archived on 2024-06-09. You can view files and clone it, but cannot push or open issues/pull-requests.
2017-01-15 14:01:33 +01:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module ApplicationExtension
|
|
|
|
extend ActiveSupport::Concern
|
|
|
|
|
|
|
|
included do
|
2017-05-19 03:11:23 +02:00
|
|
|
validates :website, url: true, if: :website?
|
2017-01-15 14:01:33 +01:00
|
|
|
end
|
|
|
|
end
|