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