Changes on nccu
This commit is contained in:
1 parent
2c16284f73
commit
6a022c90da
15 files changed
+89
-22
No files matched your search
@@ -39,7 +39,7 @@ class Admin::ModuleAppsNewInterfaceController < OrbitBackendController
|
||||
def update_setting_by_params
|
||||
user_sat = []
|
||||
ma = ModuleApp.find params[:module_app][:id]
|
||||
user_sat = User.find params[:users].keys if params.has_key? :users
|
||||
user_sat += User.find params[:users].keys if params.has_key?('users')
|
||||
users_to_new = user_sat - ma.managing_users
|
||||
users_to_remove = ma.managing_users - user_sat
|
||||
|
||||
|
||||
Reference in new issue
Block a user