aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/referentials_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/referentials_controller.rb')
-rw-r--r--app/controllers/referentials_controller.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/app/controllers/referentials_controller.rb b/app/controllers/referentials_controller.rb
index 539c7ca5d..a5e3b7247 100644
--- a/app/controllers/referentials_controller.rb
+++ b/app/controllers/referentials_controller.rb
@@ -1,9 +1,4 @@
class ReferentialsController < InheritedResources::Base
-
- before_filter :switch_referential
-
- def switch_referential
- Apartment::Database.switch(referential.slug)
- end
+ respond_to :html
end