mastodon/app/models/concerns/application.rb

8 lines
167 B
Ruby
Raw Normal View History

module ApplicationExtension
extend ActiveSupport::Concern
included do
validates :website
end
end
Doorkeeper::Application.send :include, ApplicationExtension