diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-02-27 00:15:00 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-02-27 00:15:00 +0100 |
commit | 175a9b9caa92ad90bf2e8b68c299a00adb1f9751 (patch) | |
tree | ac9ee673567dd8661fce0644193377af5818b08e /app/controllers/settings | |
parent | 2826e6dada94da4508ab89f137b456145656d2d9 (diff) |
Fix #104 - Style OAuth authorized applications page
Add ability to search accounts by display name
Diffstat (limited to 'app/controllers/settings')
-rw-r--r-- | app/controllers/settings/exports_controller.rb | 16 |
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 |