notification scaffold
This commit is contained in:
parent
5f14a6bcf8
commit
d55ade1686
10 changed files with 119 additions and 7 deletions
11
app/controllers/notifications_controller.rb
Normal file
11
app/controllers/notifications_controller.rb
Normal file
|
@ -0,0 +1,11 @@
|
|||
class NotificationsController < ApplicationController
|
||||
layout 'profile'
|
||||
|
||||
def show
|
||||
@notification = current_user.notification
|
||||
end
|
||||
|
||||
def update
|
||||
@notification = current_user.notification
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue