9 lines
219 B
Ruby
9 lines
219 B
Ruby
class ReadingsController < ApplicationController
|
|
include BubbleScoped, BucketScoped
|
|
|
|
def create
|
|
@notifications = Current.user.notifications.where(bubble: @bubble)
|
|
@notifications.update(read: true)
|
|
end
|
|
end
|