about summary refs log tree commit diff
path: root/app/controllers
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-02-27 00:15:00 +0100
committerEugen Rochko <eugen@zeonfederated.com>2017-02-27 00:15:00 +0100
commit175a9b9caa92ad90bf2e8b68c299a00adb1f9751 (patch)
treeac9ee673567dd8661fce0644193377af5818b08e /app/controllers
parent2826e6dada94da4508ab89f137b456145656d2d9 (diff)
Fix #104 - Style OAuth authorized applications page
Add ability to search accounts by display name
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/settings/exports_controller.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/app/controllers/settings/exports_controller.rb b/app/controllers/settings/exports_controller.rb
new file mode 100644
index 000000000..d4ecb6e8a
--- /dev/null
+++ b/app/controllers/settings/exports_controller.rb
@@ -0,0 +1,16 @@
+# frozen_string_literal: true
+
+class Settings::ExportsController < ApplicationController
+  layout 'admin'
+
+  before_action :authenticate_user!
+  before_action :set_account
+
+  def show; end
+
+  private
+
+  def set_account
+    @account = current_user.account
+  end
+end