diff options
| author | Luc Donnet | 2014-08-12 13:28:08 +0200 |
|---|---|---|
| committer | Luc Donnet | 2014-08-12 13:28:08 +0200 |
| commit | 739d0b9da83ece992f26813a20052839545930f8 (patch) | |
| tree | ed684f9f2b1c5cd1d291516b56d4b5aa4fd8c4f0 /app/controllers/chouette_controller.rb | |
| parent | 9d478a73a2d3b216dece161667f6d12839c22316 (diff) | |
| download | chouette-core-739d0b9da83ece992f26813a20052839545930f8.tar.bz2 | |
Fix time table view for edit and new and Fix size for all edit new page
Diffstat (limited to 'app/controllers/chouette_controller.rb')
| -rw-r--r-- | app/controllers/chouette_controller.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/chouette_controller.rb b/app/controllers/chouette_controller.rb index f9f832f37..6ef699d5b 100644 --- a/app/controllers/chouette_controller.rb +++ b/app/controllers/chouette_controller.rb @@ -4,6 +4,8 @@ class ChouetteController < InheritedResources::Base before_filter :switch_referential + layout "without_sidebar", :only => [:edit, :new, :update, :create] + def switch_referential Apartment::Database.switch(referential.slug) end |
