We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae8af0f commit e6b575fCopy full SHA for e6b575f
app/javascript/controllers/better_together/message_visibility_controller.js
@@ -30,7 +30,7 @@ export default class extends Controller {
30
}
31
32
markAsRead(messageId) {
33
- fetch(`/en/notifications/mark_message_as_read`, {
+ fetch(`/en/notifications/mark_record_as_read`, {
34
method: 'POST',
35
headers: {
36
'Content-Type': 'application/json',
config/routes.rb
@@ -56,7 +56,7 @@
56
57
collection do
58
post :mark_all_as_read, to: 'notifications#mark_as_read'
59
- post :mark_message_as_read, to: 'notifications#mark_as_read'
+ post :mark_record_as_read, to: 'notifications#mark_as_read'
60
end
61
62
0 commit comments