From 746a144dacdca86d12672552d3b831889e7338c5 Mon Sep 17 00:00:00 2001 From: Diaspora Europe Date: Tue, 13 Mar 2012 18:07:42 +0100 Subject: [PATCH] now redirect to stream --- app/controllers/notifications_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/notifications_controller.rb b/app/controllers/notifications_controller.rb index 3cafaecfa..7e0af8645 100644 --- a/app/controllers/notifications_controller.rb +++ b/app/controllers/notifications_controller.rb @@ -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