diff options
| author | Luc Donnet | 2015-04-22 11:37:37 +0200 |
|---|---|---|
| committer | Luc Donnet | 2015-04-22 11:37:37 +0200 |
| commit | 803d5e26bc7620a55aef005df3585ed93728dd93 (patch) | |
| tree | 8a8aef6ed82e484981bb273d0f619d8f582fdac1 /app/controllers/api | |
| parent | 42c570ba88f073d0082b948ced1e3b6f57868afe (diff) | |
| download | chouette-core-803d5e26bc7620a55aef005df3585ed93728dd93.tar.bz2 | |
Begin to fix spec
Diffstat (limited to 'app/controllers/api')
| -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 c1d626adf..c9ba27eeb 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::Tenant.switch(@api_key.referential.slug) + Apartment::Tenant.switch!(@api_key.referential.slug) end end |
