summaryrefslogtreecommitdiff
path: root/app/controllers/notifications_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/notifications_controller.rb')
-rw-r--r--app/controllers/notifications_controller.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/controllers/notifications_controller.rb b/app/controllers/notifications_controller.rb
new file mode 100644
index 00000000000..d2edb6a69e8
--- /dev/null
+++ b/app/controllers/notifications_controller.rb
@@ -0,0 +1,11 @@
+class NotificationsController < ApplicationController
+ layout 'profile'
+
+ def show
+ @notification = current_user.notification
+ end
+
+ def update
+ @notification = current_user.notification
+ end
+end