diff options
Diffstat (limited to 'app/controllers/api/v1')
| -rw-r--r-- | app/controllers/api/v1/chouette_controller.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api/v1/chouette_controller.rb b/app/controllers/api/v1/chouette_controller.rb index b8879cd3f..c1d626adf 100644 --- a/app/controllers/api/v1/chouette_controller.rb +++ b/app/controllers/api/v1/chouette_controller.rb @@ -17,7 +17,7 @@ private          end        end        def switch_referential -        Apartment::Database.switch(@api_key.referential.slug) +        Apartment::Tenant.switch(@api_key.referential.slug)        end       end  | 
