aboutsummaryrefslogtreecommitdiff
path: root/views/employees_in_department.jade
diff options
context:
space:
mode:
Diffstat (limited to 'views/employees_in_department.jade')
-rw-r--r--views/employees_in_department.jade3
1 files changed, 2 insertions, 1 deletions
diff --git a/views/employees_in_department.jade b/views/employees_in_department.jade
index 8313b2c..277c750 100644
--- a/views/employees_in_department.jade
+++ b/views/employees_in_department.jade
@@ -18,4 +18,5 @@ block content
tr
td: a(href=urlgenerator.employee(employee.emp_no)) #{employee.first_name} #{employee.last_name}
- mixin pager(pager, function(offset) { return urlgenerator.employees_in_department(dept_no, offset) })
+ - var f = function(offset) { return urlgenerator.employees_in_department(dept_no, offset) }
+ mixin pager(pager, f, query)