diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-09-26 23:55:21 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-09-26 23:56:53 +0200 |
commit | 7e14eefc819ce27f45406452a4f8e2039d0f0886 (patch) | |
tree | a58bb240cff3a247b154362a0106369789a04ad1 /app/controllers/oauth | |
parent | 210362e66578dae32cbf169884d3c2905fe32cb7 (diff) |
Replace logo, fix #57 - delete/unreblog/unfavourite API, fix #45 - app
registration API
Diffstat (limited to 'app/controllers/oauth')
-rw-r--r-- | app/controllers/oauth/applications_controller.rb | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/app/controllers/oauth/applications_controller.rb b/app/controllers/oauth/applications_controller.rb deleted file mode 100644 index 47935bf7c..000000000 --- a/app/controllers/oauth/applications_controller.rb +++ /dev/null @@ -1,18 +0,0 @@ -class Oauth::ApplicationsController < Doorkeeper::ApplicationsController - before_action :authenticate_user! - - def index - @applications = current_user.oauth_applications - end - - def create - @application = Doorkeeper::Application.new(application_params) - @application.owner = current_user - - if @application.save - redirect_to oauth_application_url(@application) - else - render :new - end - end -end |