read_all button on notifications page redirects to stream.
This commit is contained in:
parent
5f705775cd
commit
9e337fc8b0
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ class NotificationsController < ApplicationController
|
|||
def read_all
|
||||
Notification.where(:recipient_id => current_user.id).update_all(:unread => false)
|
||||
respond_to do |format|
|
||||
format.html { redirect_to notifications_path }
|
||||
format.html { redirect_to multi_stream_path }
|
||||
format.xml { render :xml => {}.to_xml }
|
||||
format.json { render :json => {}.to_json }
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue