SPEC: make sure digest doesn't pick any topics in categories that are muted

This commit is contained in:
Régis Hanol
2014-11-03 16:57:50 +01:00
parent a7fa1b33e5
commit fd5677808c
4 changed files with 34 additions and 32 deletions

View File

@@ -99,7 +99,7 @@ class CategoriesController < ApplicationController
category_id = params[:category_id].to_i
notification_level = params[:notification_level].to_i
CategoryUser.set_notification_level_for_category(current_user, notification_level , category_id)
CategoryUser.set_notification_level_for_category(current_user, notification_level, category_id)
render json: success_json
end