Code Duplication    Length = 8-8 lines in 3 locations

src/Controllers/PermissionController.php 1 location

@@ 21-28 (lines=8) @@
18
     *
19
     * @return Content
20
     */
21
    public function index()
22
    {
23
        return Admin::content(function (Content $content) {
24
            $content->header(trans('admin::lang.permissions'));
25
            $content->description(trans('admin::lang.list'));
26
            $content->body($this->grid()->render());
27
        });
28
    }
29
30
    /**
31
     * Edit interface.

src/Controllers/RoleController.php 1 location

@@ 22-29 (lines=8) @@
19
     *
20
     * @return Content
21
     */
22
    public function index()
23
    {
24
        return Admin::content(function (Content $content) {
25
            $content->header(trans('admin::lang.roles'));
26
            $content->description(trans('admin::lang.list'));
27
            $content->body($this->grid()->render());
28
        });
29
    }
30
31
    /**
32
     * Edit interface.

src/Controllers/UserController.php 1 location

@@ 22-29 (lines=8) @@
19
     *
20
     * @return Content
21
     */
22
    public function index()
23
    {
24
        return Admin::content(function (Content $content) {
25
            $content->header(trans('admin::lang.administrator'));
26
            $content->description(trans('admin::lang.list'));
27
            $content->body($this->grid()->render());
28
        });
29
    }
30
31
    /**
32
     * Edit interface.