diff options
| author | Zog | 2018-01-17 09:36:15 +0100 | 
|---|---|---|
| committer | Zog | 2018-01-25 17:17:59 +0100 | 
| commit | 377ddcd306fb9e61e734aaf3762e05f448938af0 (patch) | |
| tree | 4947ecf95e346adb1eb5578a4cd559a7fa146d33 /app/controllers/api_keys_controller.rb | |
| parent | 44d38ab6b6a05a56a73c443c62f4a88d1733f274 (diff) | |
| download | chouette-core-377ddcd306fb9e61e734aaf3762e05f448938af0.tar.bz2 | |
Refs #5586 @1.5h; Migrate more decorators
- Remove ApiKeyDecorator (never used)
- Migrate CalendarDecorator
- Migrate CompanyDecorator
- Migrate TimeTableDecorator
Diffstat (limited to 'app/controllers/api_keys_controller.rb')
| -rw-r--r-- | app/controllers/api_keys_controller.rb | 7 | 
1 files changed, 0 insertions, 7 deletions
| 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 | 
