diff options
| author | cedricnjanga | 2017-10-25 17:15:34 +0200 |
|---|---|---|
| committer | cedricnjanga | 2017-10-25 18:02:36 +0200 |
| commit | 2ad3520f94bcfca20bb95dfdac98ad6735ca1287 (patch) | |
| tree | e9a62646af4618453d788b11ffcb17948d914954 /lib/stif/dashboard.rb | |
| parent | b0c1dd17d8e301ed2c3c22d84cf3620763b9fdf7 (diff) | |
| download | chouette-core-2ad3520f94bcfca20bb95dfdac98ad6735ca1287.tar.bz2 | |
Refs #4759
Fix bug on dashboard to show the 5 first referentials of the current_organisation's first workbench.
Added a small changes dashboard.rb to avoid '@workbench is not defined error'
With the same logic we list only the first 5 calendars
Diffstat (limited to 'lib/stif/dashboard.rb')
| -rw-r--r-- | lib/stif/dashboard.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stif/dashboard.rb b/lib/stif/dashboard.rb index fafddec62..b6b6b8284 100644 --- a/lib/stif/dashboard.rb +++ b/lib/stif/dashboard.rb @@ -5,7 +5,7 @@ module Stif end def referentials - @referentials ||= @workbench.all_referentials + @referentials ||= self.workbench.all_referentials end def calendars |
