Notifications don't 500 anymore, but I don't know how to make it render the mobile view.
This commit is contained in:
parent
fe915ecb09
commit
8b789bfe35
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue