aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/api_keys_controller.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/controllers/api_keys_controller.rb b/app/controllers/api_keys_controller.rb
index fea8f66b3..35a84da87 100644
--- a/app/controllers/api_keys_controller.rb
+++ b/app/controllers/api_keys_controller.rb
@@ -12,6 +12,11 @@ class ApiKeysController < ChouetteController
def destroy
destroy! { referential_path(@referential) }
end
+
+ private
+ def api_key_params
+ params.require(:api_key).permit( :name )
+ end
end