From 8b789bfe35742553f14687ee0f02bc5fdc252f0a Mon Sep 17 00:00:00 2001 From: Sarah Mei Date: Sat, 10 Sep 2011 13:38:01 -0700 Subject: [PATCH] Notifications don't 500 anymore, but I don't know how to make it render the mobile view. --- app/controllers/notifications_controller.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/controllers/notifications_controller.rb b/app/controllers/notifications_controller.rb index b665a6c37..8cf44cbed 100644 --- a/app/controllers/notifications_controller.rb +++ b/app/controllers/notifications_controller.rb @@ -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