diff --git a/app/views/portlets/dynamic_contents/_sejours.html.haml b/app/views/portlets/dynamic_contents/_sejours.html.haml index 7bf541c..5e0249b 100644 --- a/app/views/portlets/dynamic_contents/_sejours.html.haml +++ b/app/views/portlets/dynamic_contents/_sejours.html.haml @@ -5,7 +5,7 @@ -if params[:saison_id] -@sejours = Saison.find(params[:saison_id]).sejours.all -else - -@sejours = Sejour.all + -@sejours = Sejour.find(1).sejours.all diff --git a/config/deploy.rb b/config/deploy.rb index d0246b4..e318893 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -70,6 +70,7 @@ set :application, 'centaure2_app' run "ln -s #{deploy_to}shared/storage/private #{current_path}/private_medias" run "ln -s #{deploy_to}shared/storage/public #{current_path}/public/public_medias" + run "ln -s #{deploy_to}shared/storage/system #{current_path}/public/system" run "ln -s #{deploy_to}shared/production.sqlite3 #{current_path}/db/production.sqlite3"