From 377ddcd306fb9e61e734aaf3762e05f448938af0 Mon Sep 17 00:00:00 2001 From: Zog Date: Wed, 17 Jan 2018 09:36:15 +0100 Subject: Refs #5586 @1.5h; Migrate more decorators - Remove ApiKeyDecorator (never used) - Migrate CalendarDecorator - Migrate CompanyDecorator - Migrate TimeTableDecorator --- app/controllers/api_keys_controller.rb | 7 ------- 1 file changed, 7 deletions(-) (limited to 'app/controllers/api_keys_controller.rb') diff --git a/app/controllers/api_keys_controller.rb b/app/controllers/api_keys_controller.rb index 9706c5961..a03a67481 100644 --- a/app/controllers/api_keys_controller.rb +++ b/app/controllers/api_keys_controller.rb @@ -31,11 +31,4 @@ class ApiKeysController < ChouetteController def api_key_params params.require(:api_key).permit(:name, :referential_id) end - - def decorate_api_keys(api_keys) - ModelDecorator.decorate( - api_keys, - with: ApiKeyDecorator, - ) - end end -- cgit v1.2.3