diff options
| author | cedricnjanga | 2018-03-20 21:05:57 -0700 | 
|---|---|---|
| committer | cedricnjanga | 2018-03-20 21:05:57 -0700 | 
| commit | 216ad28cfc022e20c57948c99a9ee276b102fcc7 (patch) | |
| tree | 415ec184dc009b49ca938443b671c202331aadde /app/controllers/calendars_controller.rb | |
| parent | 7889ea3f2e8051140b703a88ee9ea6194f5bf3f7 (diff) | |
| download | chouette-core-216ad28cfc022e20c57948c99a9ee276b102fcc7.tar.bz2 | |
Refs #6258 associate calendars with current organisation
Diffstat (limited to 'app/controllers/calendars_controller.rb')
| -rw-r--r-- | app/controllers/calendars_controller.rb | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/app/controllers/calendars_controller.rb b/app/controllers/calendars_controller.rb index cc7570d65..2f25d95d6 100644 --- a/app/controllers/calendars_controller.rb +++ b/app/controllers/calendars_controller.rb @@ -104,6 +104,10 @@ class CalendarsController < ChouetteController      end    end +   def begin_of_chain +    current_organisation +  end +    def ransack_contains_date      date =[]      if params[:q] && !params[:q]['contains_date(1i)'].empty? | 
