diff --git a/app/views/posts/index.haml b/app/views/posts/index.haml index 46fafa49..6108a208 100644 --- a/app/views/posts/index.haml +++ b/app/views/posts/index.haml @@ -1,4 +1,4 @@ -- reorder_allowed = policy(site).reorder? +- reorder_allowed = policy(@site).reorder? - if reorder_allowed - reorder_controller = { controller: 'reorder' } - reorder_target = { target: 'reorder.row' }