Notifications don't 500 anymore, but I don't know how to make it render the mobile view.

This commit is contained in:
Sarah Mei 2011-09-10 13:38:01 -07:00
parent fe915ecb09
commit 8b789bfe35

View file

@ -5,6 +5,9 @@
class NotificationsController < VannaController
include NotificationsHelper
include ActionController::MobileFu
has_mobile_fu
def update(opts=params)
note = Notification.where(:recipient_id => current_user.id, :id => opts[:id]).first
if note