mastodon/app/models/concerns/application.rb

8 lines
No EOL
167 B
Ruby

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