Add tracking of OAuth app that posted a status, extend OAuth apps to have optional website field, add application details to API, show application name and website on detailed status views. Resolves #11
This commit is contained in:
8
app/models/concerns/application.rb
Normal file
8
app/models/concerns/application.rb
Normal file
@@ -0,0 +1,8 @@
|
||||
module ApplicationExtension
|
||||
extend ActiveSupport::Concern
|
||||
included do
|
||||
validates :website
|
||||
end
|
||||
end
|
||||
|
||||
Doorkeeper::Application.send :include, ApplicationExtension
|
Reference in New Issue
Block a user