about summary refs log tree commit diff
path: root/app/models/concerns/application.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/concerns/application.rb')
-rw-r--r--app/models/concerns/application.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/models/concerns/application.rb b/app/models/concerns/application.rb
new file mode 100644
index 000000000..613be34ee
--- /dev/null
+++ b/app/models/concerns/application.rb
@@ -0,0 +1,8 @@
+module ApplicationExtension
+  extend ActiveSupport::Concern
+  included do
+    validates :website
+  end
+end
+
+Doorkeeper::Application.send :include, ApplicationExtension
\ No newline at end of file