Skip to content
Snippets Groups Projects
Commit 746a144d authored by Diaspora Europe's avatar Diaspora Europe
Browse files

now redirect to stream

parent 82c9ccfb
No related branches found
No related tags found
No related merge requests found
......@@ -55,6 +55,7 @@ class NotificationsController < ApplicationController
Notification.where(:recipient_id => current_user.id).update_all(:unread => false)
respond_to do |format|
format.html { redirect_to stream_path }
format.mobile{ redirect_to stream_path}
format.xml { render :xml => {}.to_xml }
format.json { render :json => {}.to_json }
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment