From a06faaebfbb8100c51f64af7ad8e661ac9e927cf Mon Sep 17 00:00:00 2001 From: Johannes Nickel Date: Tue, 13 Jan 2015 22:10:57 +0100 Subject: [PATCH] updated json response --- app/controllers/online_notifications_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/online_notifications_controller.rb b/app/controllers/online_notifications_controller.rb index 4ee59f38c..bb8ffac35 100644 --- a/app/controllers/online_notifications_controller.rb +++ b/app/controllers/online_notifications_controller.rb @@ -93,7 +93,7 @@ curl http://localhost/api/v1/online_notifications -v -u #{login}:#{password} -H notifications.each do |notification| OnlineNotification.seen({:id => notification['id']}) end - render :json => {data:'all cool'} + render :json => {data:'ok'} end end