aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stif
diff options
context:
space:
mode:
authorcedricnjanga2017-10-25 17:15:34 +0200
committercedricnjanga2017-10-25 18:02:36 +0200
commit2ad3520f94bcfca20bb95dfdac98ad6735ca1287 (patch)
treee9a62646af4618453d788b11ffcb17948d914954 /lib/stif
parentb0c1dd17d8e301ed2c3c22d84cf3620763b9fdf7 (diff)
downloadchouette-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')
-rw-r--r--lib/stif/dashboard.rb2
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