now redirect to stream

This commit is contained in:
Diaspora Europe 2012-03-13 18:07:42 +01:00
parent 82c9ccfbe0
commit 746a144dac

View file

@ -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