aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/workbenches_controller.rb
diff options
context:
space:
mode:
authorLuc Donnet2016-11-18 16:53:43 +0100
committerLuc Donnet2016-11-18 16:53:43 +0100
commit37a86f23f16f93897013e85e12efab85b1eebcd9 (patch)
treec0505e2313b6e77e99a09d05f0bfd7fae6ee1c06 /app/controllers/workbenches_controller.rb
parent6827025a73a35788bbfb40d0ef20903cb62d27e3 (diff)
parent9ed408bf89e9de1fdd17bfdcb40f0e2b5616de19 (diff)
downloadchouette-core-37a86f23f16f93897013e85e12efab85b1eebcd9.tar.bz2
Merge branch 'master' of github.com:AF83/stif-boiv
Diffstat (limited to 'app/controllers/workbenches_controller.rb')
-rw-r--r--app/controllers/workbenches_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/workbenches_controller.rb b/app/controllers/workbenches_controller.rb
index 1d67db3ab..b23e9202e 100644
--- a/app/controllers/workbenches_controller.rb
+++ b/app/controllers/workbenches_controller.rb
@@ -4,6 +4,8 @@ class WorkbenchesController < BreadcrumbController
respond_to :html, :only => [:show]
def show
+ @wbench_refs = Workbench.find(params[:id]).referentials.paginate(page: params[:page], per_page: 2)
+
show! do
build_breadcrumb :show
end