src/controllers/PermissionController.php
public function getShow($permissionId)
    {
        try {
            $permission = PermissionProvider::findById($permissionId);

            $this->layout = View::make(Config::get('syntara::views.permission-edit'), array(
                'permission' => $permission,
            ));
            $this->layout->title = 'Permission '.$permission->getName();
            $this->layout->breadcrumb = array(
                    array(
                        'title' => trans('syntara::breadcrumbs.permissions'),
                        'link' => URL::route('listPermissions'),
                        'icon' => 'glyphicon-ban-circle'
                    ),
                    array(
                     'title' => $permission->getName(),
                     'link' => URL::current(),
                     'icon' => ''
                    )
            );
        } catch (\MrJuliuss\Syntara\Models\Permissions\PermissionNotFoundException $e) {
            $this->layout = View::make(Config::get('syntara::views.error'), array('message' => trans('syntara::permissions.messages.not-found')));
        }
    }
public function getShow($permissionId)
    {
        try {
            $permission = PermissionProvider::findById($permissionId);

            $this->layout = View::make(Config::get('syntara::views.permission-edit'), array(
                'permission' => $permission,
            ));
            $this->layout->title = 'Permission '.$permission->getName();
            $this->layout->breadcrumb = array(
                    array(
                        'title' => trans('syntara::breadcrumbs.permissions'),
                        'link' => URL::route('listPermissions'),
                        'icon' => 'glyphicon-ban-circle'
                    ),
                    array(
                     'title' => $permission->getName(),
                     'link' => URL::current(),
                     'icon' => ''
                    )
            );
        } catch (\MrJuliuss\Syntara\Models\Permissions\PermissionNotFoundException $e) {
            $this->layout = View::make(Config::get('syntara::views.error'), array('message' => trans('syntara::permissions.messages.not-found')));
        }
    }
View permission
@param int $permissionId