about summary refs log tree commit diff
path: root/app/controllers/oauth
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-09-26 23:55:21 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-09-26 23:56:53 +0200
commit7e14eefc819ce27f45406452a4f8e2039d0f0886 (patch)
treea58bb240cff3a247b154362a0106369789a04ad1 /app/controllers/oauth
parent210362e66578dae32cbf169884d3c2905fe32cb7 (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.rb18
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